python下载代码

r = requests.get(url).content
f = open(r'F:\test\a%s'%i, 'wb')
f.write(r)
posted @ 2017-11-28 09:26  蓝夏Jmy  阅读(299)  评论(0)    收藏  举报