Erik Max Francis <max at alcyone.com> writes: > Man, what a perfect gaffe on my part. The purpose of the do...while > construct is to _eliminate_ the duplication. This should be: > > do: > line = inputFile.readline() > while line: > ... I still like the assignment expression better.