Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- import xml.etree.ElementTree as ET
- n = sys.stdin.read()
- root = ET.fromstringlist(n)
- for i in root.findall('./shop/'):
- print(i.tag)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement