Raw input buffer

nobody root at [127.0.0.1]
Sun Nov 4 08:23:13 EST 2001


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.






More information about the Python-list mailing list