sys.stdin.read() HELP!
Andrey Revyakin
revyakag at umdnj.edu
Wed Jul 4 02:30:08 EDT 2001
I have a cgi script which reads XML data from a FLASH5 movie. The script
reads data into a string like this:
text = sys.stdin.read()
After I moved my scripts from a machine with python 1.7.2 to to a one
with python 2 .0, I started getting the following error:
text = sys.stdin.read()
IOError: [Errno 9] Bad file descriptor
WHAT THE #$^ does that mean??? Please help! If I can't use my way with
2.0 anymore, what can I use instead?
Thanks in advance!
Andrey
More information about the Python-list
mailing list