Using xreadlines

bearophileHUGS at bearophileHUGS at
Fri Feb 27 11:43:43 EST 2009

Brett Hedges:
> How would I keep track of the absolute position of the lines?

You may have to do all things manually (tell, seek and looking for
newlines manually, iterating chars), that's why I have said it's not
handy. The other solutions are simpler.


More information about the Python-list mailing list