Seeing errors in Python CGI

From XPUB & Lens-Based wiki
Revision as of 15:01, 15 December 2011 by Eleanorg (talk | contribs) (Created page with "To see exceptions in an online script. <source lang="python"> import cgitb; cgitb.enable() </source>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To see exceptions in an online script.

import cgitb; cgitb.enable()