import xml.etree.ElementTree as ET; tree = ET.parse('data.xml'); root = tree.getroot(); # root[0] 表示第一 ... ElementTree.fromstring(text).
確定! 回上一頁