会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
shanau2
导航
博客园
首页
新随笔
联系
订阅
管理
公告
2018年12月31日
python获取文件夹的大小(即取出所有文件计算大小)
摘要: import ospath = r'/Users/authurchen/PycharmProjects/Demo'# print(os.listdir(path))ls = os.listdir(path)files = []def get_all_file(dir_path): global fi
阅读全文
posted @ 2018-12-31 20:23 shanau2
阅读(940)
评论(0)
推荐(0)
编辑