Flushing stdout

Graham Ashton gashton at cmedltd.com
Mon Nov 1 17:04:06 EST 2004


On Mon, 01 Nov 2004 16:41:04 -0500, Steve Holden wrote:

> Graham Ashton wrote:
>> Hi. I'm having trouble flushing sys.stdout.
> You aren't actually having trouble flushing sys.stdout at all ...
> 
>> As you'll no doubt gather from the example, the problem I'm really trying
>
> The iteration over the pipe's contents is waiting until it sees the end 
> of the output before it yields anything.

Genius. Thanks Steve, much appreciated. Now I can actually send our users
some feedback...

Graham



More information about the Python-list mailing list