pycsv
target = open('new.csv','w') wr = csv.writer(target, quoting=csv.QUOTE_ALL) wr.writerow(a)