Raw input buffer
Andrei Kulakov
sill at optonline.net
Sun Nov 4 17:21:44 EST 2001
On Sun, 4 Nov 2001 23:23:13 +1000, nobody <root@[> wrote:
> How would 'peek' to see if there's data waiting to be read in the input
> (stdin, or I suppose any such stream like a tty) buffer, and optionally read
> it raw (ie. just what is currently in the buffer, without waiting for a
> <cr>)?
>
> thanks.
Get one key at a time (and manually buffer it):
http://www.python.org/cgi-bin/faqw.py?req=show&file=faq04.074.htp
>
>
>
--
Cymbaline: intelligent learning mp3 player - python, linux, console.
get it at: cy.silmarill.org
More information about the Python-list
mailing list