ElementTree as ET 2 tree = ET.parse(r'E:\python\day1\day5\b.test') 3 root ... 6 coun.text = str(int(coun.text)+1) ##year + 1 7 coun.set('update','yes') ...
確定! 回上一頁