Seome kind of unblocking input

Ramchandra Apte maniandram01 at gmail.com
Mon Sep 24 01:31:50 EDT 2012


On Sunday, 23 September 2012 23:20:37 UTC+5:30, Dennis Lee Bieber  wrote:
> On Sun, 23 Sep 2012 18:13:57 +0100, Mark Lawrence
> 
> <breamoreboy at yahoo.co.uk> declaimed the following in
> 
> gmane.comp.python.general:
> 
> 
> 
> > On 23/09/2012 16:49, Ramchandra Apte wrote:
> 
> 
> 
> > > You can clear the buffer by calling file.flush()
> 
> > >
> 
> > 
> 
> > Shock, horror, probe, well I never did.  I'm sure that everyone is 
> 
> > updating their Xmas and birthday card lists to ensure that you're not 
> 
> > missed out having furnished a piece of information that doubtless not 
> 
> > one other person on this group knew.
> 
> 
> 
> 	It probably wouldn't have helped either... The OP was looking for,
> 
> as I recall, some means by which a pending input would not block other
> 
> output on a console... So what use is flushing a buffer?
> 
> -- 
> 
> 	Wulfraed                 Dennis Lee Bieber         AF6VN
> 
>         wlfraed at ix.netcom.com    HTTP://wlfraed.home.netcom.com/


Okay okay! My message was out-of-context.
Anyways, nobody in my age group knows that you can clear the buffer of a file in Python by calling file.flush().



More information about the Python-list mailing list