ElementTree.parse('thefile.xml').getroot() ... from xml.dom import minidom xmldoc = minidom.parse('items.xml') itemlist ... 我建議xmltodict 為簡單起見。
確定! 回上一頁