4.9 _psp - Python Server Pages

The _psp module provides a way to convert text documents (including, but not limited to HTML documents) containing Python code embedded in special brackets into pure Python code suitable for execution within a mod_python handler, thereby providing a versatile mechanism for delivering dynamic content in a style similar to similar to ASP, JSP and others.

The parser used by _psp is written in C (generated using flex) and is therefore very fast.

Unlike other mod_python modules, _psp is written in such a way that it can be imported outside of the Apache httpd process, e.g. in stand-alone command-line programs.

See 6.2 ``PSP Handler'' for additional PSP information.


Subsections