"rb",,please
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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.
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
In <[EMAIL PROTECTED]>,
andrew.jefferies wrote:
> 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
[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 example. I won't read 100 lines of
code to see where is the problem, and then tr
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
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.
>
[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.
Regards,
--
. Facundo
.
Blog: http://www.taniquetil.com.ar/plog/
PyA
[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 that line and there aren't any special characters.
>
> This is the file
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