How can I convert the str representation of a dictionary, such as the following string, into a dict?
str
dict
s = "{'muffin' : 'lolz', 'foo' : 'kitty'}"
I prefer not to use eval. What else can I use?
eval
← Назад к списку