ABSTRACT

The main advantage of making a program available on the web is that it can reach more users without the need for them to install a copy of the program and to have a Python installation. Sometimes the program accesses demanding resources like huge databases that can't be installed on the end user's hard drive. There are several ways to use Python on a web server, CGI (Common Gateway Interface), mod_python, and WSGI (Web Server Gateway Interface). CGI is the oldest method to run dynamic content in a web page. In the server configuration file there should be specifications that scripts can be executed via CGI, in which directories, and how they will be named. Some files are served in a static manner, which means that they are not generated on the fly by a backend process. The most common cases are css, JavaScript, and images files.