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


Groups > comp.lang.python > #79257

Re: Flush stdin

References <CABcP1UeH9ft0j++HbUpHDDWz4i=7eJrDU=kVXFN6LPHT3oNE6Q@mail.gmail.com>
Date 2014-10-18 17:25 +1100
Subject Re: Flush stdin
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.14957.1413613539.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Oct 17, 2014 at 10:38 PM, Empty Account <emptya45@gmail.com> wrote:
> I will be using this script on Unix based systems and I wondered what
> approach I could use
> to flush stdin?

Why exactly do you need to flush stdin? If you've written a small
amount of data to the console, it's stdout that you need to flush.

ChrisA

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


Thread

Re: Flush stdin Chris Angelico <rosuav@gmail.com> - 2014-10-18 17:25 +1100

csiph-web