May-02-2018, 01:49 PM
Hey,
I'm getting data from the web which is basically a dictionary. The problem is that one key refers to another dictionary which is unfortunately a string:
Has someone an idea to do that quick and simple?
thanks in advance
Robin
I'm getting data from the web which is basically a dictionary. The problem is that one key refers to another dictionary which is unfortunately a string:
dict = {'somethin':'else','data':'{the other dict}',.......}for obvious reasons i want to change it to change it to:
{'somethin':'else','data':{the other dict},.......}in words that '{the other dict}' goes to {the other dict}
Has someone an idea to do that quick and simple?
thanks in advance
Robin