然而,我有一个无法真正解释的行为:我通过beautifulSoup网站喝汤。它是一个bs4元素。但是,当我想要查找所有提到的应答器时,它显示元素的类型为None。请找到下面的代码:import urllib2 as web
url = "http://www.stevegtennis.com/men-atp-rankings/2015-7-6/1/all&
代码: from bs4 import BeautifulSoup# Opening the html file contents = HTMLFile.read()# Creating a BeautifulSoup object and specifying theparser
S = BeautifulSoup(contents, 'html.parser