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.02s 2010-03-12 16:34:47.653176. hosted by webfaction.