Python is a popular object-oriented programming language available on many platforms, from Unix-based systems to Windows. It is also available for Java and the Microsoft .NET platform. If you are interested in configuring Python to work with Nginx, it's likely that you already have a clear idea of what Python does. We are going to use Python as a server-side web programming language, with the help of the Django framework.
Django is an open source web development framework for Python that aims to make web development simple and easy, as claimed by its slogan:
The Web framework for perfectionists with deadlines.
More information is available on the project website at http://www.djangoproject.com.
Among other interesting features such as a dynamic administrative interface, a caching framework, and unit tests, Django comes with a FastCGI process manager. It's going to make things much simpler for us from the perspective of running Python scripts through Nginx.