The util module provides a number of utilities handy to a web application developer.
The functionality provided by util is also available in the standard Python library cgi module, but the implementation in cgi is specific to the CGI environment, making it not the most efficient one for mod_python. For example, the code in util does not use the environment variables since most of the information is available directly from the Request object. Some of the functions in the util module are implemented in C for even better performance.
The recommended way of using this module is:
from mod_python import util
See Also: