trace log in error

Brian Lee senux at senux.com
Mon Oct 22 14:13:28 CEST 2001


Hi, I'm newbie at Python programming.

How can I get more detailed error information in
try.. except sentence?

Follow code print out what kind of error is occurs
but I want to read trace log for the error. Is it possible
to read it? If possible how can I do it?

try:
    my_function()
except:
    print sys.exc_type, sys.exc_info

Thank you in advance.

-- 
Brian Lee <senux at senux.com>

You could get a new lease on life 

-- if only you didn't need the first and last month in advance.




More information about the Python-list mailing list