請問:
Python ElementTree編輯XML后寫入,所有標簽都自動 加上了 ns0:
怎么把 讓他不自動添加 ns0:
比如 原檔案:
<FileAlignment>512</FileAlignment>
<PublishUrl>publish\</PublishUrl>
Python ElementTree編輯后寫入,就變成了
<ns0:FileAlignment>512</ns0:FileAlignment>
<ns0:PublishUrl>publish\</ns0:PublishUrl>
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/267780.html
上一篇:在Django運行的web程式里使用并行ProcessPoolExecutor報錯:Apps aren't loaded yet.
下一篇:Python大爺,救我
