SyntaxFix
Write A Post
Hire A Developer
Questions
Here is a secure version of Alex Martelli's:
import csv with open('filename', 'wb') as myfile: wr = csv.writer(myfile, quoting=csv.QUOTE_ALL) wr.writerow(mylist)