How to flush print

Jay Davis dj00302003 at yahoo.com
Sat Mar 6 16:52:06 EST 2004


If you open a file the usual way, you can flush
the output buffer with .flush().  How do you flush
the output buffer of a print command, either
'print string' or 'print >>ofile, string' ?



More information about the Python-list mailing list