stdin on Win32

nobody root at [127.0.0.1]
Tue Sep 17 00:37:39 CEST 2002


This works on Linux, but not Win32.  Win32 just gives me EOF..

# echo foo|test.py

where test.py is:

import sys

print sys.stdin.readline()


WTF?






More information about the Python-list mailing list