l = \"[\'Hello\', \'my\', \'name\', \'is\', \'Apple\']\" l1 = [\'Hello\', \'my\', \'name\', \'is\', \'Apple\']
type(l) returns str>
type(l)
str>
ast.literal_eval is a nice approach. For those preferint string manipulation, another option is:
l1 = [x[1:-1] for x in l[1:-1].split(', ')]