Re: split text file with x0Dx0A

2005-12-29 Thread ownowl
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&#x

split text file with x0Dx0A

2005-12-29 Thread ownowl
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