Forgive me, but doesn't file.readline() provide the same functionality for reading a single line at a time from a file?
for line in file:Then again, most of my files are three dimensional matrices. There's nothing I can really do on a line by line basis.
I learned this the hard way when debugging a Python script that read from tail -f output...