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 2010-09-02 15:40:51.392272. hosted by webfaction.