Non blocking read from stdin on windows.

barr ka202 at
Sat Dec 25 23:54:21 CET 2004

Can any one help.

I am trying to write a python scipt that takes input as args and/or as piped
input ( possibly the output of another program).

I want to read stdin ( the piped  in stuuff ) whcih might be empty without
the script blocking if it is empty.

I understand it is possible to do under unix with the select call. Can some
one please explain how to do this in windows.

thanks in advance.


More information about the Python-list mailing list