split text file with x0Dx0A

ownowl ownowl at club-internet.fr
Thu Dec 29 06:37:14 EST 2005


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



More information about the Python-list mailing list