Re: HELP Non-Blocking reads from sys.stdin in Windows.

2004-12-28 Thread Miki Tebeka
Hello Barr, > I am in real need of a way to perform non blocking reads from sys.stdin on > windows. I have looked every where for an answer but but with no luck. I > beleive there there must be a way of doing this, can some one please help > asap. Warning: The below code wasn't tested at all...

Re: HELP Non-Blocking reads from sys.stdin in Windows.

2004-12-28 Thread barr
hi Do you mean something like the following. class inputReader(Thread): def __init__(self): Thread.__init__(self) def run(self): buffer = sys.readline() thread = inputReader() thread.start() Thanks Kwame "Paul Rubin" wrote in message ne

Re: HELP Non-Blocking reads from sys.stdin in Windows.

2004-12-28 Thread Paul Rubin
"barr" <[EMAIL PROTECTED]> writes: > I am in real need of a way to perform non blocking reads from sys.stdin on > windows. I have looked every where for an answer but but with no luck. I > beleive there there must be a way of doing this, can some one please help > asap. Use a separate thread. --

HELP Non-Blocking reads from sys.stdin in Windows.

2004-12-28 Thread barr
Hi I am in real need of a way to perform non blocking reads from sys.stdin on windows. I have looked every where for an answer but but with no luck. I beleive there there must be a way of doing this, can some one please help asap. Thanks in advance, Barr -- http://mail.python.org/mailman/lis