python----------->>批量读取图片路径

path_image = os.listdir(pre_path)
shuffle(path_image)

原文地址:https://www.cnblogs.com/shuimuqingyang/p/14276688.html