對比其他Python 處理XML 的方案, xml.etree. ... new_rank = int(rank.text) 1 rank.text = str(new_rank) rank.attrib['updated'] = 'yes' ...
確定! 回上一頁