I exported CSV from excel for parsing using python. When I opened vimmed CSV, I noticed that it was one line with ^ M characters, which should contain newlines.
Name, Value, Value2, OtherStuff ^M Name, Value, Value2, OtherStuff ^M
I have a file processed in such a way that I change the values ββand put them in a string (using the "rU" mode in csvreader). However, the line has no new lines. So I'm wondering if there is a way to split the string into this ^ M character or a way to replace it with \ n?
source share