[python]获取文件夹下所有文件名时间:2021-09-17 10:18:14 #---picknames.py---import os filenames = os.listdir(os.getcwd()) for name in filenames: print(name)