from io import StringIO from unicodecsv import DictReader, Dialect, QUOTE_MINIMAL data = ( 'first_name,last_name,email\r' 'Elmer,Fudd,[email protected]\r' 'Jo\xc3 ...
The csv342 version of DictReader cannot accept a list of CSV lines, though the built in version in both Python 2 and Python 3 can do so. If you're interested in accepting patches, I could submit one ...