ElementTree as ET tree = ET.parse('students.xml') ... a new element" root.append(newEle) # 更新xml sub1 = root.find("sub1") # 修改sub1的name ...
確定! 回上一頁