#coding:utf-8
import os
import requests
if not os.path.exists('美女'):
os.mkdir('美女')
response=requests.get('http://p9.pstatp.com/large/pgc-image/15313119151238899fd6463')
with open('美女/2.jpg','wb') as h:
h.write(response.content)
print ('finish')
python 下载图片
猜你喜欢
转载自blog.csdn.net/qq_40771567/article/details/81019347
今日推荐
周排行