摘要:
import xml.etree.ElementTree as ET tree = ET.parse("xmltest.xml") root = tree.getroot() print(root.tag) #遍历xml文档 for child in root: print(child.tag, child.attrib) for i in child: ... 阅读全文
posted @ 2018-01-19 08:35 阿骏骏 阅读(113) 评论(0) 推荐(0)
浙公网安备 33010602011771号