Erik Max Francis <max at alcyone.com> writes: > do: > line = inputFile.readline() > while line: > ... > line = inputFile.readline() So it's yet another workaround for Python's lack of assignment expressions. I like while (line := inputFile.readline()): ... a lot better.