question for sys.stdout

Diez B. Roggisch deetsNOSPAM at web.de
Thu Nov 4 13:53:49 CET 2004


> how to replace sys.stdout to file-like object ?

sys.stdout = open("/this/is/so/simple", "w")

-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list