check if there is data in stdin without blocking
Gabriel Genellina
gagsl-py at yahoo.com.ar
Mon Jan 15 13:44:19 EST 2007
At Monday 15/1/2007 05:55, hg wrote:
>Well I'm testing under Linux but need support under Windows ... is there any
>way to poll stdin somehow under both plateform ?
I think you may want this portable getch function:
<http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892>
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
More information about the Python-list
mailing list