Cannot find what I'm sure is a simple command... please help.

Aahz aahz at pythoncraft.com
Sun Mar 31 18:35:21 EST 2002


In article <3ca7978b.251291804 at mammoth.usenet-access.com>,
A. Jones <netzapper at magicstar.net> wrote:
>
>I seem to have either overlooked, or completely missed a function that
>allows one to open a specific line of a file.

There isn't one, unless every line of your file is the same length
(fixed-length records).  You need to read one line at a time until you
get to the correct line.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?



More information about the Python-list mailing list