You can easily remove it in an additional step by traversing the tree: >>> for element in root.iter(" * "): ... if element.text is not None and not ...
確定! 回上一頁