traceback string

Aahz Maruch aahz at netcom.com
Thu Jun 29 11:01:42 EDT 2000


In article <8jfnn5$1fpo$1 at news2atm.raleigh.ibm.com>,
Arinté <shouldbe at message.com> wrote:
>
>How do you print the traceback string from an exception
>try:
>   whatever()
>except:
>   print sys.exc_traceback
>
>gives me <traceback object at 351900>

Use the traceback module.
--
                      --- Aahz (Copyright 2000 by aahz at netcom.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

The best way to get information on Usenet is not to ask a question,
but to post the wrong information.  --Aahz



More information about the Python-list mailing list