\r for newline in readlines function
mleeds at mlp.com
Fri Sep 19 18:37:42 CEST 2003
I did more investigation into my previous problem
and what happens is that my text file has \r for representing
a new line instead
of a \n. is there a way to tell the readlines
function that the symbol for a newline is \r rather
than \n ? right now the readlines function reads
the\r as another item in the list and just puts
everything into one big list because it
doesn't find any new line characters.
thanks. i'm really stuck because
i can't read my data right now.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list