In this section, we are going to introduce the necessary concepts to create a web page that's been developed with Python without using any framework. For this, it is necessary to know about the concept of WSGI, which is a specification of a simple and universal interface between web servers and web applications or frameworks that are developed with Python.
Writing a web application with WSGI
Introducing WSGI
Python web applications were originally written against these CGI and FastCGI protocols, and a now mostly defunct mod_python Apache module. This proved troublesome, though, since Python web applications were tied to the protocol or server they had been written for. Moving them to a different server or protocol required...