You can use ast.literal_eval
>>> from ast import literal_eval
>>> s = "['a',['b','c','d'],'e']"
>>> print(literal_eval(s))
['a', ['b', 'c', 'd'], 'e']
You can use ast.literal_eval
>>> from ast import literal_eval
>>> s = "['a',['b','c','d'],'e']"
>>> print(literal_eval(s))
['a', ['b', 'c', 'd'], 'e']
For further actions, you may consider blocking this person and/or reporting abuse
Shidhin -
thai-duong2003 -
Abdulkadir Erbas -
Nicole C. Dressler -
Top comments (0)