Stuck on an assignment dealing with URL and XML parsing. I've got the data out but can't seem to get findall() to work. I know that once I can get findall() to work I'll have a list to loop through to. Any insight would be great and hoping to get a gentle nudge versus an outright answer if possible. Thank you!
import urllib.request, urllib.parse, urllib.error
import xml.etree.ElementTree as ET
fhand = urllib.request.urlopen('http://py4e-data.dr-chuck.net/comments_42.xml')
raw_data = fhand.read().decode()
xml_data = ET.fromstring(raw_data)
lst = xml_data.findall('name')
print(lst)