Re: File not read to end

2007-04-26 Thread andrew . jefferies
On Apr 26, 9:48 am, Facundo Batista <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I've attached the whole script. Thanks again for your help. > > > --Andrew > > Andrew, tip: > > If you attach the whole script, what you get is that a lot of people > goes away from the thread. Me for exam

Re: File not read to end

2007-04-26 Thread andrew . jefferies
On Apr 25, 2:51 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi, > > > I'm trying to write a simple log parsing program. I noticed that it > > isn't reading my log file to the end. > > > My log is around 200,000 lines but it is stopping at line 26,428. I > > checked tha

Re: File not read to end

2007-04-26 Thread andrew . jefferies
On Apr 25, 3:03 pm, Facundo Batista <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > My log is around 200,000 lines but it is stopping at line 26,428. I > > checked that line and there aren't any special characters. > > Are you in Windows? Just in case, put "rb" as the mode of the open. >

File not read to end

2007-04-25 Thread andrew . jefferies
Hi, I'm trying to write a simple log parsing program. I noticed that it isn't reading my log file to the end. My log is around 200,000 lines but it is stopping at line 26,428. I checked that line and there aren't any special characters. This is the file reading code segment that I'm using: s