I am trying to create a .csv file with the values from a Python list
when I print the values in the list they are all unicode (?) i.e. they look something like this [u'value 1', u'value 2', ...]
if I iterate through the values in the list i.e. for v in mylist: print v they appear to be plain text
and I can put a ',' between each with print ','.join(mylist)
and I can output to a file i.e. myfile = open(...) print >>myfile, ','.join(mylist)
but I want to output to a CSV and have delimiters around the values in the list e.g.
"value 1", "value 2", ...
I can't find an easy way to include the delimiters in the formatting e.g. I have tried through the join statement
any suggestions welcome :)