stdin on Win32

nobody root at [127.0.0.1]
Mon Sep 16 18:37:39 EDT 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