首页
软件开发
登录
6mi
u
盘
搜
搜 索
软件开发
python使用lxml读写xml
python使用lxml读写xml
xiaoxiao
2022-07-02
171
python使用lxml读写xml
网上比较详细的一篇,感谢大佬。
Python读写XML文档(lxml方式)
from lxml import etree tree=etree.parse('D://2018//99-Info.xml') root = tree.getroot() for node in root.xpath('//beginframe'): print (node.text)
转载请注明原文地址: https://yun.8miu.com/read-18146.html
最新回复
(
0
)