CLEAR INPUT BUFFER

Sam z.sam-No-Spam- at libero.it
Thu Oct 28 12:18:03 EDT 2004


"Istvan Albert" <ialbert at mailblocks.com> wrote in message
news:A5GdnQGapZBQjhzcRVn-og at giganews.com...
> In general you can't flush the standard input,
> it is one of those undefined behaviors in C.
>
> To read the input until an end-of-file is reached
> use read() instead of readline().
>

Now I try.
Thanks.

Bye





More information about the Python-list mailing list