list to string

Sean Ross sross at connectmail.carleton.ca
Sat Sep 6 04:13:03 CEST 2003


>>> vals = ['aaa', 'bbb', 'ccc']
>>> ', '.join(vals)
'aaa, bbb, ccc'







More information about the Python-list mailing list