Web Scripting with Python. (was Re: [Tutor] Where is PYTHONPATH set?)

Deirdre Saoirse deirdre@deirdre.net
Wed, 8 Nov 2000 18:14:30 -0800 (PST)

On Wed, 8 Nov 2000 mbc2@netdoor.com wrote:

> Is there a best way to use python for web programming? I've used php
> in the past to create small scripts that process user input or query a
> database. But I'd like to start working on something larger and I'd
> like to use Python. Python looks more powerful, and the scripts I've
> written in it so far have been cleaner looking that the same ones php.
> I've looked at mod_python but I guess I don't understand what it does
> (despite having read the documentation and installed it). Is something
> like this recommended?

I actually use PHP for web scripting and python for all the post and pre
processing (i.e. schlepping stuff into and out of databases). The display
is all PHP3 because I find it easier.

mod_python is a persistent python interpreter which will reduce the amount
of time your programs take to return a response (because it won't have to
launch an interpreter).

_Deirdre   *   http://www.sfknit.org   *   http://www.deirdre.net
"You had thesaurus flakes for breakfast again, didn't you?"
                                                 -- Eric Williams