Categories
Python Ubuntu

Configure Apache web server to run python as cgi

Last updated on March 9th, 2022 at 04:13 amClick to rate this tutorial! [Total: 2 Average: 5]This tutorial will guide you on configuring and enabling CGI in Apache web server and run python scripts. We need to make use of mod_cgi module to deliver dynamic content. In this tutorial we will configure mod_cgi and run python […]

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 specific line in file using Python

Last updated on August 29th, 2022 at 01:53 pmClick to rate this tutorial! [Total: 10 Average: 3.1]In this tutorial we are going to delete a specific line in a file that starts with a string. Let us first create a simple text file ‘myfile‘, Content of the file is as follows. The python script we […]