摘要:
0.可以新建一个用于练习的html文件,在浏览器中打开。 1.利用requests.get(url)获取网页页面的html文件 import requests newsurl='http://news.gzcc.cn/html/xiaoyuanxinwen/' res = requests.get( 阅读全文
摘要:
运行结果 ('日本', 665)('自己', 647)('什么', 608)('老人', 536)('瑞宣', 422)('好', 415)('知道', 394)('北平', 350)('钱', 338)('起来', 295)('钱先生', 291)('里', 291)('先生', 290)('并' 阅读全文