the following code worked until today when I imported from a Windows machine and got this error:
new-line character seen in unquoted field - do you need to o
If this happens to you on mac (as it did to me):
CSV (MS-DOS Comma-Separated)
Run the following script
with open(csv_filename, 'rU') as csvfile: csvreader = csv.reader(csvfile) for row in csvreader: print ', '.join(row)