I got this sample code:
import csv
w = csv.writer(file(r'test.csv','wb'), dialect='excel')
some_values=[(1,2,3)]
w.writerows(some_values)
When I open CSV in excel, I got all the values in the same one column(A). I want to put the values in A1, B1and C1. How can i do this?
MS Office Excel 2007 Service Pack 2 (SP2)
Thank.
DECISION:
w = csv.writer (file (r'test.csv ',' wb '), delimiter ='; ')
source
share