可以透過ElementTree 的tostring 將Element 轉成string bytes 印出. >>> from xml.etree.ElementTree import tostring >>> tostring(elem) ...
確定! 回上一頁