direct print to log file

Sion Arrowsmith sion at viridian.paintbox
Wed Oct 6 12:23:39 EDT 2010


Dave Angel  <davea at ieee.org> wrote:
>If you want to be able to go back to the original, then first bind 
>another symbol to it.

Or restore from sys.__stdout__, as long as you're sure that nothing
else has rebound sys.stdout first (or don't mind clobbering it).

-- 
\S

   under construction




More information about the Python-list mailing list