ET 模組的fromstring()函式提供從XML 字串構造一個Element物件的功能。 xml_str = ET.tostring(root) print xml_str root = ET.fromstring(xml_str) print ...
確定! 回上一頁