Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29897

Re: Seome kind of unblocking input

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <maniandram01@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'output': 0.04; 'missed': 0.09; 'python': 0.09; 'lawrence': 0.09; 'okay': 0.09; 'sep': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; "wouldn't": 0.11; 'anyways,': 0.16; 'did.': 0.16; 'for,': 0.16; 'wrote:': 0.17; 'input': 0.18; 'pending': 0.20; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'updating': 0.27; '+0100,': 0.29; 'piece': 0.29; 'probably': 0.29; "i'm": 0.29; 'knows': 0.30; 'lists': 0.31; 'file': 0.32; 'url:home': 0.33; 'everyone': 0.33; 'received:google.com': 0.34; 'clear': 0.35; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'sure': 0.38; 'card': 0.62; 'information': 0.63; 'age': 0.83; 'flushing': 0.84; 'horror,': 0.84; 'subject:kind': 0.84; 'xmas': 0.84; 'birthday': 0.91; 'dennis': 0.91
Newsgroups comp.lang.python
Date Sun, 23 Sep 2012 22:31:50 -0700 (PDT)
In-Reply-To <mailman.1135.1348422637.27098.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=122.167.250.153; posting-account=uPFZNQoAAAAm9w7z13q1SjWNKNjztdcD
References <0be9b4c2-b661-4709-ba8f-40a6f78ad634@googlegroups.com> <mailman.1030.1348257285.27098.python-list@python.org> <593f9c45-9150-4d37-9c9c-e3cd66ed2d8e@googlegroups.com> <k3ng02$gni$1@ger.gmane.org> <mailman.1135.1348422637.27098.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 122.167.250.153
MIME-Version 1.0
Subject Re: Seome kind of unblocking input
From Ramchandra Apte <maniandram01@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.1182.1348464713.27098.python-list@python.org> (permalink)
Lines 44
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348464713 news.xs4all.nl 6904 [2001:888:2000:d::a6]:60744
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29897

Show key headers only | View raw


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@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@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().

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Seome kind of unblocking input janis.judvaitis@gmail.com - 2012-09-21 02:13 -0700
  Re: Seome kind of unblocking input Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-21 15:54 -0400
    Re: Seome kind of unblocking input Ramchandra Apte <maniandram01@gmail.com> - 2012-09-23 08:49 -0700
      Re: Seome kind of unblocking input Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-23 18:13 +0100
      Re: Seome kind of unblocking input Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-23 13:50 -0400
        Re: Seome kind of unblocking input Ramchandra Apte <maniandram01@gmail.com> - 2012-09-23 22:31 -0700
        Re: Seome kind of unblocking input Ramchandra Apte <maniandram01@gmail.com> - 2012-09-23 22:31 -0700
      Re: Seome kind of unblocking input Chris Angelico <rosuav@gmail.com> - 2012-09-24 15:14 +1000
    Re: Seome kind of unblocking input Ramchandra Apte <maniandram01@gmail.com> - 2012-09-23 08:49 -0700
  Re: Seome kind of unblocking input janis.judvaitis@gmail.com - 2012-09-25 01:05 -0700

csiph-web