摘要: 代码如下: import os dirpath = 'D:\\' t = [] for root,dirs,files in os.walk(dirpath): for file in files: temp = os.path.join(root,file).replace('\\','\\\\' 阅读全文
posted @ 2022-08-29 15:11 小胡要加油 阅读(227) 评论(0) 推荐(0) 编辑