I want to create new csv
file and write some string in it:
with open('results.csv', 'w') as resultsfile:
csv_writer = csv.writer(resultsfile)
csv_writer.writerow('mystring')
Output
m,y,s,t,r,i,n,g
The thing here that the default delimiter is comma
and there no way to use this:
csv_writer = csv.writer(resultsfile, delimiter='')
So how can I write my string without any delimiter inside the csv
file?