📅  最后修改于: 2022-03-11 14:46:02.990000             🧑  作者: Mango
import os
rootdir = './path/to/files/'
for subdir, dirs, files in os.walk(rootdir):
for file in files:
print os.path.join(subdir, file)