What is the difference between lxml.etree._ElementTree and lxml.etree._Element?
Hi,
I can not tell the difference between lxml.etree._ElementTree and
lxml.etree._Element. Could anybody explain what is the difference
between them? Thanks.
$ ./main.py bar <<< '<foo><x><bar>abc</bar></x><bar>xyz</bar></foo>'
Hi,
Am Tue, 17 Apr 2018 23:20:07 -0500
schrieb Peng Yu
I can not tell the difference between lxml.etree._ElementTree and lxml.etree._Element. Could anybody explain what is the difference between them? Thanks.
Read http://lxml.de/tutorial.html#the-element-class and http://lxml.de/tutorial.html#the-elementtree-class This should help to explain the difference. :) -- Gruß/Regards, Thomas Schraitle
participants (2)
-
Peng Yu
-
Thomas Schraitle