Ho do I print an lxml.etree element in Jupyter when using etree.tostring(element, pretty_print=True)?

后端 未结 0 1869
独厮守ぢ
独厮守ぢ 2020-12-11 00:21

I have this code

root = etree.Element("root")
root.append( etree.Element("child1") )
child2 = etree.SubElement(root, "child2")
c         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题