對比其他Python 處理XML 的方案, xml.etree. ... 獲取XML 文件物件的根結點Element root = tree.getroot() # 列印根結點的名稱 print root.tag.
確定! 回上一頁