I've Element of etree having some attributes - how can we delete the attribute of perticular etree Element.
The .attrib member of the element object contains the dict of attributes - you can use .pop("key") or del like you would on any other dict to remove a key-val pair.
.attrib
.pop("key")
del
1.4m articles
1.4m replys
5 comments
57.0k users