Fast way to grab line from file?

chiefteo69 at my-deja.com chiefteo69 at my-deja.com
Mon Feb 21 20:47:41 EST 2000


Hi there,
  Does anyone know of a faster way to grab line
100 from a given file without doing 100 readline()
calls? This way is too slow, but I can't find out
how to do this in python. Thanks,

-Mateo


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list