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 6, 2017 2:12 AM Subje

Re: [Tutor] f.readlines(size)

2017-06-07 Thread Nancy Pham-Nguyen via Tutor
Hi Peter, Thanks a lot for pointing out the itertools.islice, itertools.izip_longest, and experimenting with readlines(size).I'm using Python 2 (you got me, a newbie learning readlines from Google's Python page). I used the itertools.islice and it worked like a charm. izip requires so many argum