redirecting print to a a file

AndyL ask at me
Thu May 11 14:10:16 CEST 2006


Sybren Stuvel wrote:
>>I have a large program and would like to avoid touching hundreds of
>>print's.
> 
> 
> I can suggest using the logging module instead of print. It's much
> more flexible than prints, and well suited for large programs.
> 

Thx for the hint. I will look into that.

A.



More information about the Python-list mailing list