[Tutor] f.readlines(size)

2017-06-05 Thread Nancy Pham-Nguyen
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

Re: [Tutor] f.readlines(size)

2017-06-07 Thread Nancy Pham-Nguyen
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

[Tutor] f.readlines(size)

2017-06-06 Thread Nancy Pham-Nguyen via Tutor
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

Re: [Tutor] f.readlines(size)

2017-06-07 Thread Nancy Pham-Nguyen via Tutor
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(