if i use the code below to write a list to a file

list = (food, price, store)
data.append(list)
f = open(r"test.txt", 'a')
f.write ( os.linesep.join( list ) )


it outputs to a file like this

apple
.49
star market

and i want it to do

apple, .49. star market

any ideas

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to