Getting backtrace on an axception

Fredrik Lundh fredrik at
Sat Jun 10 19:45:15 CEST 2006

Paolo Pantaleo wrote:

> In the except block I need to print detailed output about the error
> occured, and in particular I need to read the backtrace for the line
> that raised the exception [then modify and print it].

 >>> import traceback
 >>> help(traceback)


More information about the Python-list mailing list