Answer the question
In order to leave comments, you need to log in
How to turn a list into a string?
Network string of the form: ["param", "param", "mem"].
How can I turn this string into an equivalent list?
Answer the question
In order to leave comments, you need to log in
from ast import literal_eval
a = '["парам", "парам", "пам"]'
b = literal_eval(a)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question