获取文件夹中所有文件和文件夹的名称

os.listdir(path)


返回path指定的文件夹包含的文件或文件夹的名字的列表。

posted @ 2022-03-25 17:46  Tomorrow1126  阅读(148)  评论(0编辑  收藏  举报