How to send output to file

Andreas Ulbrich ulbi at ivs.tu-berlin.de
Tue Jan 21 06:31:45 EST 2003


A wrote:
> Hi All,
> I use httplib module.
> By h.set_debuglevel(1) I start debugging but the output is written to DOS window.
> How can  I divert the output to file instead.
> Thank you for help.
> Ladislav
> 
> 
> 
asign a file object to sys.stdout and/or sys.stderr





More information about the Python-list mailing list