How to find out if there is data to be read from stdin on Windows in Python?,os.isatty(sys.stdin.fileno())