Guido van Rossum added the comment: Check out the cgitb stdlib module. ---------- nosy: +gvanrossum _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22936> _______________________________________