root.append( etree.Element("child1") ). 我们还有更高效的方法:SubElement工厂方法,它使用和Element工厂方法相同的参数,不过额外需要父节点作第 ...
確定! 回上一頁