If you are considering using the built-in Python csv reader, with a Python document here :
Python csv reader defines some optional Dialect.quotechar options, the default is '"' . In the csv format standard, katchar is another field delimiter, and the delimiter (comma in your case) can be included in the specified field. Citation rules for csv format symbols are clear in the first section of this page .
So, it seems that with the default quotation mark with " built-in Python csv reader manages your problem in default mode.
If you want to stick with Python, why not clean your csv file first, using regexp to identify the fields specified in quotation marks, and for example, change the comma delimiter to \t . But here you are actually parsing the csv format.
source share