[Tutor] cgi scripts

Jim Morcombe jmorcombe at westnet.com.au
Mon Nov 10 13:00:50 CET 2008


Actually, that's good to know.  I was thinking it was going to be pretty 
hard to debug if I couldn't tell the difference between HTML errors and 
Python errors.
I have been using
    import cgitb; cgitb.enable()

It seems to re-direct some of the errors to the browser, but obviously 
not all.

Jim
 


Don Jennings wrote:
> Hi, Jim. Actually, improper HTML would cause a problem with the
> browser and what it may or may not display. An "Internal Server Error"
> does indicate that you had a problem with your code. I suggest
> referring back to Alan's post again.
>
> Take care,
> Don
>
>
>   




More information about the Tutor mailing list