I would like something similar to: import xmltodict x_file = 'afile.xml' with open(x_file) as fd: doc = xmltodict.parse(fd.read()) for item in doc.items():
確定! 回上一頁