摘要: # 单位byte def getdirsize(self,args): dir = args.dir size = 0 for root, dirs, files in os.walk(dir): size += sum([getsize(join(root, name)) for name in 阅读全文
posted @ 2021-03-01 22:56 山上小和尚 阅读(303) 评论(0) 推荐(0) 编辑