cgitb – Detailed Traceback Reports

cgitb is a valuable debugging tool in the standard library. It was originally designed for showing errors and debugging information in web applications and was later updated to include plain-text output as well, but unfortunately was never renamed. This has led to obscurity, and the module is not used as often as it could be.

https://pymotw.com/3/cgitb/

Advertisements