As a Python lover who also uses PHP extensively, I find that Spyce ( http://spyce.sourceforge.net ) is the Python web programming solution that is closest in spirit to PHP. With Spyce, all the right ingredients that made for PHP's [initial] success, such as immediacy of learning and integration into an HTML page, are made available while straying as little as possible from how you normally do Python programming (read: nothing much new to learn).
Spyce's Pythonic design involves a small amount of carefully designed features which:
Spyce has been around for a while and mature and stable enough for 'heavy lifting'. It was what I settled on after evaluating roughly a dozen other Python web frameworks including CherryPy, Quixote, Skunk, Zope, and Webware, none of which, imo, offered the clarity and ease of HTML integration that PHP provides and thus were not satisfactory alternatives.
Spyce can be made to run on commodity hosting that supports CGI and Python (99.9% do) easily by:
Voila! You now have Spyce working together with all the features that a Python program on that server has access to (including MySQL, SMTP, etc...)
Spyce can also work on top of fastCGI, mod_python as well as its own server proxying behind Apache or other web server.
Oh... and before I forget... if its default [[ and ]] delimiter tags turn you off, you can use the more conventional <% and %> instead.
Well, I agree - spyce is fine. Howerver, since I have found CherryPy...No. Spyce is -too- close to php programming for me. I think that the way cp2 is going is better for web programming. However, there is one thing cp needs - mod_cherrypy :-]
I used Spyce, but now mod_python supports inline code, so for med Spyce became redundant.