File not read to end

andrew.jefferies at gmail.com andrew.jefferies at gmail.com
Thu Apr 26 08:14:00 EDT 2007


On Apr 25, 3:03 pm, Facundo Batista <facu... at taniquetil.com.ar> wrote:
> andrew.jeffer... at gmail.com 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/
> PyAr:http://www.python.org/ar/

I am running Windows (Vista). I tried the "rb" as you suggested but it
didn't solve the problem. Thanks for the suggestion.

--Andrew




More information about the Python-list mailing list