📅  最后修改于: 2022-03-11 14:46:54.697000             🧑  作者: Mango
from os import listdir
all_files = listdir("./path/to/file")
csv_files = list(filter(lambda f: f.endswith('.csv'), all_files))