import untangle obj = untangle.parse('path/to/file.xml'). 然后您可以像这样获取child元素名称: ... xmltodict 是另一个简易的库, 它致力于将XML变得像JSON。
確定! 回上一頁