I\'ve been playing around with my own webserver (Apache+Ubuntu) and python. From what I\'ve seen there are 3(?) main ways of doing this:
mod_python is dead, so using mod_python probably isn't a good idea for new projects. Personally, I prefer to use mod_wsgi over CGI (or FastCGI). It's dead-simple to set up, and much more efficient.