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.01s 2008-08-20 07:35:54.551129. hosted by webfaction.