Uvicorn

Uvicorn is a lightning-fast ASGI server used to serve python ASGI frameworks like FastAPI, Django Channels, Quart, BlackSheep, etc… https://www.uvicorn.org

Flask Python framework

Flask Python framework

Flask is a Python framework. You can find more info at the official website. https://flask.palletsprojects.com/ How to start a Flask

Python mechanize HTTP Error 403 request disallowed by robots.txt

When running following python script i get error “HTTP Error 403 request disallowed by robots.txt” To fix this, find Add

error: Python.h: No such file or directory

When install dlib python module, i get error This is because missing python3-dev package. To fix, install If you are

ERROR: Failed building wheel for mysqlclient

ERROR: Failed building wheel for mysqlclient

When install mysqlclient python module, i get error Fixed by installing

pip install mysqlclient mysql_config: not found

pip install mysqlclient mysql_config: not found

On Ubuntu 18.04, when i install mysqlclient python module, i get error this is fixed by installing libmysqlclient-dev ERROR: Failed

Running Python Application with gunicorn and nginx

Running Python Application with gunicorn and nginx

Create a service file for gunicorn Here /home/ubuntu/myapp/wagtail2 = path to the folder where web application is. /home/ubuntu/myapp/venv/bin/gunicorn = is

pycharm python editor

Installing PyCharm Community Edition on Ubuntu

PyCharm Community Edition is a free python editor from JetBrains. You can download it from https://www.jetbrains.com/pycharm/download/#section=linux Download and extact the

Getting started with Django Framework

Django is a python framework for developing web applications. To install Django, run To create a project, run Django come

Running Web Server with python SimpleHTTPServer

SimpleHTTPServer is a python module that allow you to run web server for static files. To start web server, run

Creating and using virtualenv

Creating and using virtualenv

To create a virtualenv, run On Ubuntu 18, this command will create virtualenv with Python 2.7. To create virtualenv with

virtualenv

virtualenv

Install virtualenv on Ubuntu Creating and using virtualenv virtualenv is used to create isolated python environments. With python3, you can