ElementTree as ET tree = ET.parse('country_data.xml') root = tree.getroot() ... adding and modifying attributes (Element.set() method), ...
確定! 回上一頁