XPath Basic use

xpath basic use 1. Install lxml package pip install lxml 2. Use 1. Use:

from < span class="cm-variable">lxml import etree # 导包
import requests
?
response = resquests.get(‘www.baidu.com’)
< s