sys.stndout syntax

d. savitsky dsavitsk at e-coli.net
Fri Aug 18 14:08:53 EDT 2000


greetings, very quick question.

on win32, to get printed output to a file i use
>>> sys.stndout = open('file.txt', 'w')
how do i get it to go back to the command line, or better yet, how do i
output to both at the same time?

thanks

doug





More information about the Python-list mailing list