Fredrik Lundh a écrit :
> "ownowl" wrote:
>
>
>>beginer under python, I have a problem to get lines in a text file.
>>lines have inside the \n (x0A) char, and le readline method split the
>>line at this char too (not only at x0Dx0A).
>
>
> that's not a very clever design, at least if you plan t
"ownowl" wrote:
> beginer under python, I have a problem to get lines in a text file.
> lines have inside the \n (x0A) char, and le readline method split the
> line at this char too (not only at x0Dx0A).
that's not a very clever design, at least if you plan to read the files
from C or compatible
Hello
beginer under python, I have a problem to get lines in a text file.
lines have inside the \n (x0A) char, and le readline method split the
line at this char too (not only at x0Dx0A).
for resume, I want to split a file to lines with only those chars : x0Dx0A
A idea ?
thank's
Olivier
--
htt