I am getting the weather information from a URL.
weather = urllib2.urlopen(\'url\') wjson = weather.read()
and what I am getting is:
Just for more one option...You can do it this way too:
MYJSON = { 'username': 'gula_gut', 'pics': '/0/myfavourite.jpeg', 'id': '1' } #changing username MYJSON['username'] = 'calixto' print(MYJSON['username'])
I hope this can help.