from urllib.request import urlopenfrom xml.etree.ElementTree import parse# Download the RSS feed and parse itu =urlopen('http://planet.python.org/rss20.xml')doc =parse(u)# Extract and output tags of interestfor item in doc.iterfind('channel/item'): title = item.findtext('title') date = item.findtext('pubDate') link = item.findtext('link')