So, we simply need to do this at <header/type> , and get the values of the <heading> and the <text> attributes. That's it! import xml.etree.ElementTree as ET. # ...
確定! 回上一頁