I'm having some issues saving my lists to a file, the two ways in which I have tried have both yielded the undesired output.
The first way I tried was:
savefile.write(str(full_list))
returns:
[u'Smith', u'Malte Low', u'Day', u'George']
The other way I tried was:
for fitem in full_list:
file.write(str(fitem))
returns:
SmithMalte LowDayGeorge
I am ideally looking for it to return:
Smith, Malte, Low, Day, George
I'm not quite sure how to use .join to make this work but it seems like the best option, I may be wrong.
Anyone got any ideas how I should be fixing this, it would be much appreciated.
Thanks in advance - Hy