go to specific line in text file

Patrick David patrick.david at tu-clausthal.de
Tue Jun 17 06:10:41 EDT 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
Patrick



More information about the Python-list mailing list