how to find out if there is data to be read from stdin on windows in python?,os.isatty(sys.stdin.fileno())