parsing RSS XML feed for item value

Larry Wilson itdlw1 at gmail.com
Wed Nov 20 08:44:43 EST 2013


>>> feed.entries[0].w_current
{'temperature': u'20.3', 'dewpoint': u'18.6', 'windgusts': u'29.6', 'rain': u'0.6', 'humidity': u'90', 'pressure': u'0.0', 'windspeed': u'22.2', 'winddirection': u'SSW'}
>>>

in the above I get the subitem as shown. How do I extract the label, values pairs?



More information about the Python-list mailing list