from lxml import html #python3以上的版本把etree换成了html
etree=html.etree #用这种方法才能导入etree
I personally tested it and the function can be used normally. If it helps you, please give me a thumbs up.
from lxml import html #python3以上的版本把etree换成了html
etree=html.etree #用这种方法才能导入etree
I personally tested it and the function can be used normally. If it helps you, please give me a thumbs up.