from lxml import etree. root = etree.fromstring("<root><a>1</a></root>") tree = etree.ElementTree(root) print etree.tostring(tree) ...
確定! 回上一頁