go to specific line in text file

Patrick David patrick.david at tu-clausthal.de
Tue Jun 17 12:10:41 CEST 2008

Hello NG,

I am searching for a way to jump to a specific line in a text file, let's
say to line no. 9000.
Is there any method like file.seek() which leads me to a given line instead
of a given byte?

Hope for help

More information about the Python-list mailing list