Recently, there are many modules or system in python.
This post, let’s focus on webserver system
Out of Web Framework for python, the most famous is django.
And the most popular httpserver is nginx, apache, lighttpd.
Python is a script language, how does it communicate with httpserver?
The answer is the sgi or cgi,kind of things, which is used to a bridge.
Here is a tuturial which is aimed at the Django user who wants to set up a production web
server. It takes you through the steps required to set up Django so that it
works nicely with uWSGI and nginx. It covers all three components, providing a
complete stack of web application and server software.
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.