Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert list to string python

>>> mylist = ['spam', 'ham', 'eggs']
>>> print ', '.join(mylist)
spam, ham, eggs
Source by www.decalage.info #
 
PREVIOUS NEXT
Tagged: #convert #list #string #python
ADD COMMENT
Topic
Name
1+5 =