[mod_python] python server pages

Nic Ferrier nferrier at tapsellferrier.co.uk
Wed Oct 12 15:31:35 EDT 2005

David Bear <David.Bear at asu.edu> writes:

> I am wondering 2 things. How many are using modpython for python
> server pages. Putting code in line with html seems to strong a
> paradigm for people to break out of.
> second. I am wondering who is using modpython as a fast way to run
> python they would normally use as a cgi handler.
> The more time I spend looking at the faq and docs at the web site the
> more confused I become. So I am hoping for some simple examples.
> I know modpython is used as a templating system by many, but I'm not
> sure I want to use it in that manner... I'm still thinking cgi or
> inline code like asp or php.

I use mod_python more like Java Servlets are used.

Small apache specific wrappers to more general python code.

You could call that CGI - but CGI is not to be sniffed at from a model
point of view. It's limitations are to do with scalability, not
programming ease.

Nic Ferrier

More information about the Mod_python mailing list