Categories
AWS nginx Python uWSGI

How to run Flask Application with uwsgi behind nginx

Last updated on June 13th, 2022 at 02:28 pmClick to rate this tutorial! [Total: 2 Average: 4.5]We are going to configure Nginx to forward request to uWSGI and serve Python applications running on Flask In this post we will discuss in detail on how to configure uWSGi with nginx to run Python application (in flask) […]

Categories
AWS Python

How to read spreadsheet in S3 using python

Last updated on June 2nd, 2022 at 08:03 amClick to rate this tutorial! [Total: 1 Average: 4]In this tutorial we will focus on how to read a spreadsheet (excel) in an AWS S3 bucket using Python. Before you jump on to the script please make sure that the below pre-requisites are met IAM user created […]

Categories
Python

How to delete a line in text file using Python

Last updated on February 21st, 2022 at 10:26 amClick to rate this tutorial! [Total: 8 Average: 3.5]Text file processing :- How to delete a line in text file using Python Let us start by creating a simple text file ‘myfile‘, Content of the file is as follows. The python script we are going to create […]

Categories
Python

How to connect to MySQL database using Python

Last updated on January 28th, 2022 at 07:51 pmClick to rate this tutorial! [Total: 0 Average: 0]For connecting to MySQL database and display table row content using Python 2, we need to first install MySQL-python.x86_64, This is for my 64-bit Linux machine. Without installing this package import MySQLdb statement will not work. You can also […]