how to count lines in a file ?

Steve Holden sholden at holdenweb.com
Thu Jul 25 15:43:13 EDT 2002


"Fredrik Lundh" <fredrik at pythonware.com> wrote in message
news:VkW%8.944$HY3.237298 at newsc.telia.net...
> Alex Martelli wrote:
>
> > > (does anyone here even know that readline takes an optional
> > > integer argument, and what it does? ;-)
> >
> > I would hope so, given that
> > http://www.python.org/doc/current/lib/bltin-file-objects.html
> > documents it so clearly.
>
> does anyone here think that when I asked that question, I did
> that because I didn't know, and wanted someone to look it up
> for me? ;-)
>

Was that a rhetorical question?

regards
-----------------------------------------------------------------------
Steve Holden                                 http://www.holdenweb.com/
Python Web Programming                http://pydish.holdenweb.com/pwp/
-----------------------------------------------------------------------








More information about the Python-list mailing list