I just realized... Mike Maxwell wrote: > When I invoke readline() in a for loop, why does it return a series of > one-char strings, rather than the full line? > >>>> for sL in sys.stdin.readline(): print sL for sL in iter(sys.stdin.readline, ''): print sL, -- Hallvard