查找某个文件夹下指定后缀名的所有文件import glob glob.glob(os.path.join(target_dir, target_suffix)) 示例查找当前目录下所有txt文件.
確定! 回上一頁