Re: Trace exceptions

2005-02-24 Thread Peter Hansen
gf gf wrote: Is there anyway to do something like this: try: ... except Exception: print the Exception message (and maybe other info) import traceback traceback.print_exc() See the docs on that module for how that works and many other possibilities. -Peter -- http://mail.python.org/mailma

Trace exceptions

2005-02-24 Thread gf gf
Is there anyway to do something like this: try: ... except Exception: print the Exception message (and maybe other info) __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail --