newbie question
Gabe Newcomb
Gabe.Newcomb at noetix.com
Wed May 22 15:57:57 EDT 2002
works for me.
Using the interactive prompt, just remember to use Ctrl^Z (on my windows
box at least) to signal EOF to stdin. you may just want to use
input()...
good luck,
Gabe
-----Original Message-----
From: Michael Bauers [mailto:MichaelB at firstlogic.com]
Sent: Wednesday, May 22, 2002 12:51 PM
To: python-list at python.org
Subject: newbie question
Why doesn't the following work? How is 'stdin' different than objects
returned from 'file()' ?
import sys
x = sys.stdin.xreadlines()
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list