User input question

Kragen Sitaker kragen at pobox.com
Sat Jun 1 17:01:38 EDT 2002


Eric Brunel <eric.brunel at pragmadev.com> writes:
> I also feel I have to warn you: debugging a CGI script can be *very* 
> frustrating... It's quite difficult to set the whole thing to work, and 
> when you make errors in your script, you won't get any coherent message 
> from the web server.

I disagree; if you use the cgitb module, you'll get better exception
messages from the web server than you'd get in a terminal, and better
than you'll get from any other language.

> ...: the FieldStorage class does it for you. You'll soon find you
> can't live with this class!

FieldStorage isn't perfect, but it isn't *that* bad --- I don't have
any trouble living with it!




More information about the Python-list mailing list