items in an array

Ant antroy at gmail.com
Wed Apr 19 10:13:12 EDT 2006


If you just want the items concatenated with a comma separator, the
following is what you need:

>>> list_arr = ["one", "two", "three"]
>>> list = ",".join(list_arr)
>>> print(list)
one,two,three




More information about the Python-list mailing list