Answer #1: 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 ...
確定! 回上一頁