#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2013
    Posts
    6
    Rep Power
    0

    More python/cgi questions


    Hi everyone!

    Here is an odd question: I'm using python and cgi for some web stuff. If I am using the cgitb.handler(), it works fine. But if I comment out that line, I get the Internal server error.

    Has anyone run into this, please?

    Thanks for any help!
    Sincerely,
    Erin
    PS This is python 2.7.5
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,839
    Rep Power
    480
    Removing arbitrarily chosen lines from your program is a good practice. Keep at it!
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo