📜  os.listdir 到数组 - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:42.031000             🧑  作者: Mango

代码示例1
from os import listdir
from os.path import isfile, join
files = [file for file in listdir(path) if isfile(join(path, file))]