On 22-May-2002 Michael Bauers wrote: > > Why doesn't the following work? How is 'stdin' different than objects > returned from 'file()' ? > > import sys > x = sys.stdin.xreadlines() > you do realize that xreadlines() only reads one line at a time, right?