天宫鹤

2024年4月10日

自定义Python实用函数-返回指定目录及其子目录和指定文件扩展名的文件清单列表

摘要: import os def get_files(file_path, image_types_set=()): """ 返回指定目录及其子目录下、指定文件扩展名的文件清单列表。 若image_types_set参数为空,则返回图片文件清单列表。 若image_types_set参数为['.*'],则 阅读全文

posted @ 2024-04-10 18:50 GoGrid 阅读(3) 评论(0) 推荐(0) 编辑

导航