[Tutor] list to csv

Arun Tomar tomar.arun at gmail.com
Wed Oct 1 07:26:04 CEST 2008


hi!

I've a list

new_array = ['n1', 'm1', 'p1', 'n2', 'm2', 'p2', 'n3', 'm3', 'p3']

I am trying to convert this to a csv in 3 columns so that the final
output would look something like this

"n1","m1","p1"
"n2","m2","p2"
"n3","m3","p3"

regds,
arun.





More information about the Tutor mailing list