Wasp
Wasp is an platform-independent HTML preprocessor. It's like PHP or ASP, except with the powerful Python language at your fingertips. You can add Python code to your pages, expand boiler-plate text, etc. Wasp may be run in three ways. In client mode, your files are processed in a batch to produce HTML -- no server required. In CGI mode, you get a complete web application framework with cookie and session support, activity logging, error handling (with e-mail notification), a remote debugging utility and more. In server mode Wasp runs its own threaded web server with all the CGI features embedded. In all these cases you get the simplicity of the standard URL = file paradigm. You don't need to write page classes and the like unless you wish to. Your own Python routines can be easily installed as plugins. There are no dependencies on outside libraries. Wasp is designed to be fast, robust and extensible.