Howtoforge published a guide about installing mod_python under Debian GNU/Linux 4.0
This tutorial shows how to install and use mod_python on a Debian Etch server with Apache2. mod_python is an Apache module that embeds the Python interpreter within the server. It allows you to write web-based applications in Python that will run many times faster than traditional CGI and will have access to advanced features such as ability to retain database connections and other data between hits and access to Apache internals.Embedding Python In Apache2 With mod_python (Debian Etch)