python读取当前目录下的文件和文件夹名字

import os


print(os.listdir("."))

猜你喜欢

转载自blog.csdn.net/jidawanghao/article/details/112369862
今日推荐