Element('year2') year2.text = '新年' year2.attrib = {'update': 'yes'} country.append(year2) #往country節點下添加子節點tree.write('a.xml.swap ...
確定! 回上一頁