📅  最后修改于: 2022-03-11 14:45:27.045000             🧑  作者: Mango
import pathlib
# define the path
currentDirectory = pathlib.Path('.')
for currentFile in currentDirectory.iterdir():
print(currentFile)