How to reprint sys.last_traceback

Fredrik Lundh effbot at telia.com
Wed May 17 10:58:10 EDT 2000


Warren Postma <embed at geocities.com> wrote:
> I see that the last traceback object is in the sys module as
> sys.last_traceback.
> How do I force a dump of that to a file object, or stringio or something
> like that? (as a python function)

http://www.python.org/doc/current/lib/module-traceback.html

</F>




More information about the Python-list mailing list