Logging exceptions to a file

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Thu May 7 02:43:02 EDT 2009


In message <597627b8-
d30b-4b74-9202-9cd46fb1d129 at s28g2000vbp.googlegroups.com>, Pierre GM wrote:

> ... I'd like to record (possibly unhandled) exceptions in the logfile.

    python myscript.py 2>error.log





More information about the Python-list mailing list