cgi
cgi — Common Gateway Interface support
Source code: Lib/cgi.py
Support module for Common Gateway Interface (CGI) scripts.
This module defines a number of utilities for use by CGI scripts written in Python.
1. Introduction
A CGI script is invoked by an HTTP server, usually to process user input submitted through an HTML <FORM>
or <ISINDEX>
element.
Most often, CGI scripts live in the server’s special cgi-bin
directory. The HTTP server places all sorts of information about the request (such as the client’s hostname, the requested URL, the query string, and lots of other goodies) in the script’s shell environment, executes the script, and sends the scr