摘要: 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 阅读全文
posted @ 2020-08-28 15:31 白月如初12138 阅读(7428) 评论(0) 推荐(0)
摘要: 让python pip使用国内镜像#国内源:#清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:https://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn 阅读全文
posted @ 2020-08-28 15:12 白月如初12138 阅读(1538) 评论(0) 推荐(0)