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

A. Jones netzapper at magicstar.net
Sun Mar 31 18:13:57 EST 2002


I seem to have either overlooked, or completely missed a function that
allows one to open a specific line of a file.

I've read through my Learning Python book, and read the relevent
module docs (anything having to do with files, and the __builtins__).
I must have overlooked such a function.

I thought the seek() function might work, but it only seems to give me
a byte offset in the file, and not a line number.

Can somebody please help?


-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
   http://www.newsfeeds.com       The Largest Usenet Servers in the World!
------== Over 100,000 Newsgroups - Ulimited downloads - 19 servers ==-----



More information about the Python-list mailing list