摘要: import xml.etree.ElementTree as ET tree = ET.parse("test.xml") root = tree.getroot() print(root.tag) # 遍历xml文档 for child in root: print(child.tag, chi 阅读全文
posted @ 2024-11-26 17:50 GDquicksand 阅读(1) 评论(0) 推荐(0) 编辑