Re: readlines() doesn't read entire file

2005-07-14 Thread John Machin
Jeremy wrote: > I have a most aggravating problem. I don't understand what is causing > readlines() not to read all the lines in the file. Answer all of Peter Hansen's questions, then read on ... You are on platform X; did you get the file from platform Y where Y != X? Where did you get the fi

Re: readlines() doesn't read entire file

2005-07-14 Thread Jeremy
Peter Hansen wrote: > Jeremy wrote: > >>I have a most aggravating problem. I don't understand what is causing >>readlines() not to read all the lines in the file. I have the following >>syntax: >> > > ... > >>self.xsdir = file(Datapath, 'r')# File object >> >>I can see all th

Re: readlines() doesn't read entire file

2005-07-14 Thread Peter Hansen
Jeremy wrote: > I have a most aggravating problem. I don't understand what is causing > readlines() not to read all the lines in the file. I have the following > syntax: > ... > self.xsdir = file(Datapath, 'r')# File object > > I can see all the lines in the list self.lines, b