ElementTree解析方法
1 from xml.etree import ElementTree as ET 2 3 tree=ET.parse("sha1_embedded_manifest.xml") 4 root=tree.getroot()