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)
--
http://mail.python.org/mail
So I have this code
try:
do something
except:
do something else
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]. I know about the
exception.extrac