爬虫代码运行中报Process finished with exit code 0;

运行结果显示Process finished with exit code 0;

import requests
url = 'http://www.netbian.com/meinv/'
resp = requests.get(url)
resp.encoding = 'gbk'
with open('index.html', 'wb') as f:
    f.write(resp.content)

这句是指运行正常结束的提示信息,没有报错。代码是先对网页请求,将获得的页面代码保存,没有输出print()语句,所以在控制台除了提示信息外,没有其他结果输出。查看一下index.html,如有内容说明获取成功。

如有帮助,请点击我回答右上方采纳按钮采纳一下。

这个不是程序运行结束输出的一句话嘛。。。。。。。。