how to count lines in a file ?
Shagshag13
shagshag13 at yahoo.fr
Wed Jul 24 13:37:07 EDT 2002
"Fredrik Lundh" <fredrik at pythonware.com> a écrit dans le message de news: twB%8.673$HY3.188327 at newsc.telia.net...
> Alex Martelli wrote:
>
> > BTW, GvR claimed (less than a month ago on the python-dev list)
> > that having an integer argument to readlines was a design error.
>
> except that he was talking about "readline", not "readlines".
so using it like i use it, is ok ? (even if it's over complicated).
> (does anyone here even know that readline takes an optional
> integer argument, and what it does? ;-)
not me.
s13.
More information about the Python-list
mailing list