安装lxml模块
pip install lxml
调用
from lxml import etree
xml =" "
tree = etree.XML(xml)
tree.xpath()
xpath解析
最新推荐文章于 2023-07-08 23:27:07 发布
安装lxml模块
pip install lxml
调用
from lxml import etree
xml =" "
tree = etree.XML(xml)
tree.xpath()