会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
xiaodebing
博客园
首页
新随笔
联系
订阅
管理
2018年10月22日
保存指定目录及其子目录的jpg文件
摘要: import os txt_path = 't1.txt' f = open(txt_path, mode='a', encoding='utf-8') def all_path(dirname): result = [] for maindir, subdir, file_name_list in os.walk(dirname): for filename...
阅读全文
posted @ 2018-10-22 09:48 xiaodebing
阅读(119)
评论(0)
推荐(0)
编辑
公告