把所有neighbor標籤找出來,並列印出標籤的屬性和屬性值。 for neighbor in root.iter('neighbor'): print(neighbor.attrib).
確定! 回上一頁