question for sys.stdout

Diez B. Roggisch deetsNOSPAM at web.de
Thu Nov 4 07:53:49 EST 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