其他解析函数可能会创建一个 ElementTree 。确切信息请查阅文档。 作为 Element , root 具有标签和属性字典: >>> >>> root.tag 'data' >>> root.attrib {}.
確定! 回上一頁