check if there is data in stdin without blocking
hg
hg at nospam.org
Mon Jan 15 08:18:20 EST 2007
Gabriel Genellina wrote:
> 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
will take a look, thanks.
hg
More information about the Python-list
mailing list