unbuffering std streams in code

John Reese jtr at ofb.net
Fri May 27 21:24:06 EDT 2005


You know how you can specify that stderr, stdin, stdout should be
unbuffered by running python with the -u switch?  Is there any way I
can have the same affect in code by doing something to the sys.std*
variables?



More information about the Python-list mailing list