Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

string list to list

import ast

l1 = ['aa','bb','cc']
s = str(l1)
ast.literal_eval(s)
>>> ['aa','bb','cc']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #list #list
ADD COMMENT
Topic
Name
8+6 =