Traceback output

Oleg Broytmann phd at phd.fep.ru
Wed Jun 13 11:17:39 CEST 2001


On Wed, 13 Jun 2001, mixo wrote:
> How can I catch output from "traceback.print_exc()"? I would
> to be able to do is write the information in a file .

   The very module traceback has all neccessary things. Read its source and
choose what you want. Probably format_exc() or something.

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list