Hi,
I'm trying to understand the optional size argument in file.readlines method.
The help(file) shows:
| readlines(...) | readlines([size]) -> list of strings, each a line
from the file. | | Call readline() repeatedly and return a list of
the lines so read. | The option
Hi Cameron,
Thanks for playing around and hinted about the 8192 bound. I got my question
figured out, with your and Peter's help (Please read my reply to Peter).
Cheers,Nancy
From: Cameron Simpson
To: Nancy Pham-Nguyen
Cc: "tutor@python.org"
Sent: Tuesday, June
Resend with my member's email address.
Hi,
I'm trying to understand the optional size argument in file.readlines method.
The help(file) shows:
| readlines(...) | readlines([size]) -> list of strings, each a line
from the file. | | Call readline() repeatedly and return a list
e/bound, a certain number of lines will be read.
Nancy
From: Peter Otten <__pete...@web.de>
To: tutor@python.org
Sent: Tuesday, June 6, 2017 12:36 AM
Subject: Re: [Tutor] f.readlines(size)
Nancy Pham-Nguyen wrote:
> Hi,
Hi Nancy, the only justification for the readlines(