Python 中使用ElementTree可以很方便的處理XML,但是產生的XML檔案內容會合並在一行,難以看清楚。 ... 6, root.remove(e)tree.write( 'countrys' ) ...
確定! 回上一頁