If you need a python-fastcgi-script (or also php) with the apache2-Webserver you can include it with FastCgiExternalServer.
Install via apt-get (on Debian/Ubuntu):
libapache2-mod-fastcgi
be sure your python programm is loaded on startup and include in your VirtualHosts of your apache2-config:
FastCgiExternalServer /var/www/any-sub-diractory/filename -host localhost:port
where you can access the program via yourserver.com/any-sub-diractory/filename
filename is any name you can choose, the file does not need to exist! Just be sure your python-programs listens on the port you chose!