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" <http://[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "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. -- http://mail.python.org/mailman/listinfo/python-list