For example:
test = label.find('image').attrib['url']
How to get parent element of image ?
You can use the getparent()
method:
image_parent = label.find('image').getparent()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With