parseString(ET.tostring(root)).toprettyxml(indent = " ") 而不是将其打印到Python Shell,它给出了错误 AttributeError:“ unicode”对象没有属性“ write”。
確定! 回上一頁