Traceback output

Oleg Broytmann phd at
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 Broytmann              phd at
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-list mailing list