Answer the question
In order to leave comments, you need to log in
How to parse CSV by CRLF?
There are 2 types of Carriege return - CR \r, 0x0D and Line Feed - LF, \n, 0x0A
And their combination CRLF - 0x0D0A
In the CSV file I'm parsing there are lines that are wrapped by LF and CRLF.
And while iterating
filecsv = reader('file.csv')
for i in filecsv :
print(i)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question