shufanzhang
Results
1
issues of
shufanzhang
from urllib.request import urlopen from bs4 import BeautifulSoup html=urlopen("http://www.pythonscraping.com/pages/warandpeace.html") bs=BeautifulSoup(html,"html.parser") nameList = bs.find_all(text='the prince') print(len(nameList)) I run the code above and the result is 7. However, when I use 'ctrl+F'...