Flush stdin

Chris Angelico rosuav at gmail.com
Sat Oct 18 08:25:29 CEST 2014

On Fri, Oct 17, 2014 at 10:38 PM, Empty Account <emptya45 at 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.


More information about the Python-list mailing list