摘要: import os, re """ 查看文件夹下的所有文件及文件夹 join为拼接函数 """ def Look_File(path): for root , dirs, files in os.walk(path): print(root) #主目录 for item in files: #主目录下的文件夹 print(os.path.join(root... 阅读全文
posted @ 2018-01-30 21:47 PhilXu 阅读(184) 评论(0) 推荐(0) 编辑