EADST

Python: Obtain XML Value

Python: Obtain XML Value

import os
import xml.etree.ElementTree as ET

tree = ET.parse("file_name.xml")
root = tree.getroot()
for info in root:
    print(info.text)
相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
站点统计

本站现有博文266篇,共被浏览440664

本站已经建立2019天!

热门文章
文章归档
回到顶部