Jim Jewett wrote: > Is it OK (in this case) to mix f.readline() and f.read()? Yes. > Would it be safer to just readline the data lines as well, but assert > their length? That assertion would fail: the line break is not counted in the data length, plus there might be multi-line values. Regards, Martin