奇迹969

 

2019年4月17日

xml

摘要: import xml.etree.ElementTree as ET tree =ET.parse('xml_lesson')root = tree.getroot()print(root.tag)获得根的名字 country 为标签那么为属性 neighbor 为标签direction为属性 import xml.etree.ElementTree as ET tree =E... 阅读全文

posted @ 2019-04-17 18:03 奇迹969 阅读(74) 评论(0) 推荐(0) 编辑

导航