Norb
01-10-2008, 09:19 PM
Has anyone encountered a way to get this to work properly? My 'data' will be a user created list, so I can't hardcode it.
I do NOT want this:
import csv
import sys
data = ["one", "two"]
writer = csv.writer(sys.stdout) #prints to debug window instead of a file
writer.writerows(data)
The above code returns:
o,n,e
t,w,o
What I want it to do is return this:
one
two
I do NOT want this:
import csv
import sys
data = ["one", "two"]
writer = csv.writer(sys.stdout) #prints to debug window instead of a file
writer.writerows(data)
The above code returns:
o,n,e
t,w,o
What I want it to do is return this:
one
two
