unbuffered partial line output

lynx none at of.your.business
Sat Feb 22 23:20:28 CET 2003


On Sat, 22 Feb 2003 13:43:59 +0000, Paul Rubin wrote:

> sys.stdout.flush()

thanks, that works. i must be going blind - i _did_ read right past that
in the docs, but i had my mind set so firmly on a Perl-style "set file
descriptor to non-buffered mode" line of thinking, i never even noticed an
operation to flush the buffer. doh. :-/

-- 
   PGP/GnuPG key (ID 1024D/3AC87BD1) available from keyservers everywhere
    Key fingerprint = FA8D 5EA4 E7DC 84B3 64BC  410C 7AEE 54CD 3AC8 7BD1
                "...if you can fill the unforgiving minute
                with sixty seconds' worth of distance run..."





More information about the Python-list mailing list