摘要: #递归实现文件的遍历 import os def func(path,ceng=0): name_list=os.listdir(path) #查看路径下所有文件 for name in name_list: path_abs=os.path.join(path,name) #拼接路径 if os.path.isdir(path_abs... 阅读全文
posted @ 2018-09-20 16:59 冒蓝火的加特林哒哒哒 阅读(299) 评论(0) 推荐(0) 编辑