Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
So, what?
>>> import csv
>>> with open('ex.csv', 'w', newline='') as csvfile:
... spamwriter = csv.writer(csvfile, delimiter='.', quotechar='', quoting=csv.QUOTE_NONE)
... spamwriter.writerow(['A', 'B'])
... spamwriter.writerow(['test', 10])
$ cat ex.csv
A.B
test.10
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question