我们有多种导入数据的方法。从磁盘读取文件:. import xml.etree.ElementTree as ET tree = ET.parse('country_data.xml') root = tree.getroot(). 从字符串读取数据:.
確定! 回上一頁