会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
啊里个东
博客园
首页
新随笔
联系
订阅
管理
2020年2月24日
python删除指定文件夹下小于100k的文件
摘要: 例:代码保存为del100k.py 1 import os 2 3 def get_path(file_path): 4 for root, dirs, files in os.walk(file_path): 5 for file in files: 6 filename = os.path.jo
阅读全文
posted @ 2020-02-24 12:16 啊里个东
阅读(465)
评论(0)
推荐(0)
编辑
公告