1.创建07_save_jpg.py文件
import requests#发送请求respone = requests.get("https://www.baidu.com/img/bd_logo1.png?where=super")#保存with open("a.png","wb")as f: f.write(respone.content)2.运行代码