Hi, How can I read the standard input in a non-blocking way? I have tried the following, but it is still blocking: fcntl.fcntl(sys.stdin.fileno(), FCNTL.F_SETFD, FCNTL.O_NONBLOCK) os.read(sys.stdin.fileno(), bufsize) Thanks for any help, Olivier