Using xreadlines

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Fri Feb 27 17:43:43 CET 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.

Bye,
bearophile



More information about the Python-list mailing list