import urllib.request; from bs4 import BeautifulSoup; response=urllib.request.urlopen("file:///C:/PA/6.1/html.html"); html=response.read(); html soup=BeautifulSoup(html); soup soup.find("tr"); soup.find_all("tr")
import urllib.request; from bs4 import BeautifulSoup; response=urllib.request.urlopen("file:///C:/PA/6.1/html.html"); html=response.read(); html soup=BeautifulSoup(html); soup soup.find("tr"); soup.find_all("tr")
相关文章: