PyChecker and stdin

Olaf Meding OlafMeding at noSpam.compuserve.com
Tue Mar 30 22:05:18 EST 2004


Peter

> ... put the failing code in a function ...

This line of code is already inside some function!
  s = sys.stdin.read(4)
Causes this PyChecker error:
  IOError: [Errno 9] Bad file descriptor


Any other ideas are greatly appreciated.  Thanks.

Olaf






More information about the Python-list mailing list