02 2022 档案

摘要:python查看目录下所有的子目录和子文件 python递归遍历目录结构 我喜欢第一种 方法1 import json, os def list_dir(path, res): for i in os.listdir(path): temp_dir = os.path.join(path, i) i 阅读全文
posted @ 2022-02-10 20:35 小小程序员ol 阅读(3729) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示