import requests
res = requests.get("http://www.baidu.com")
savefile = open("baidu.html","wb")
savefile.write(res.content)
savefile.close()
import requests
res = requests.get("http://www.baidu.com")
savefile = open("baidu.html","wb")
savefile.write(res.content)
savefile.close()