The cgitb Module

(New in 2.2) CGI wrapper. This module traps exceptions in the CGI script, and generates extended traceback messages in HTML.

import cgitb, cgi
cgitb.enable()
 

[comment on/vote for this article]

A Django site. this page was rendered by a django application in 0.00s 2012-02-13 02:52:15.000084. hosted by webfaction.