I am getting the weather information from a URL.
weather = urllib2.urlopen(\'url\') wjson = weather.read()
and what I am getting is:
Here's an alternative solution using requests:
import requests wjdata = requests.get('url').json() print wjdata['data']['current_condition'][0]['temp_C']