I am trying to read a CSV file that sometimes uses double quotes (") for strings and sometimes uses single quotes (') for strings.
I would like to read the file to properly handle these strings.
It is not necessary but it would be helpful if " don't " was parsed correctly. This is why I want to avoid just replacing every ' for ".
https://stackoverflow.com/questions/67428684/how-to-use-multiple-different-characters-for-quotechar-in-python-csv-reader May 07, 2021 at 11:33AM
没有评论:
发表评论