匯入模組,該庫常用的XML處理功能都在lxml.etree中 ... child in root: # 遍歷... print(child.tag) child1 child2 child3 >>> root.insert(0, etree.
確定! 回上一頁