Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list from comma separated string python

>>> my_string = 'A,B,C,D,E'
>>> my_list = my_string.split(",")
>>> print my_list
['A', 'B', 'C', 'D', 'E']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #comma #separated #string #python
ADD COMMENT
Topic
Name
1+6 =