标签:http ring 图片 技术 string idt ima parser info
在用parse的时候出现报错,这时候要自己调参数。
from lxml import etree parser=etree.HTMLParser(encoding="utf-8") html=etree.parse(‘flower.html‘,parser=parser) result=etree.tostring(html) print(result)
标签:http ring 图片 技术 string idt ima parser info
原文地址:https://www.cnblogs.com/ZQUACM-875180305/p/9471581.html