摘要:
"""批量下载图片""" from urllib.request import build_opener, install_opener, urlopen, urlretrieve from urllib.parse import quote, urlparse import os import r 阅读全文
摘要:
1 #获取文件夹内的图片 2 import os 3 def get_imlist(path): 4 return [os.path.join(path,f) for f in os.listdir(path) if f.endswith('.jpg')] 5 6 img_path = get_im 阅读全文