作用:操作XML
import xml.etree.ElementTree as ETtree = ET.parse(xml)roots = tree.getroot()
import xml.etree.ElementTree as ET
tree = ET.parse(xml)
roots = tree.getroot()