摘要: python获取文件大小 # !/usr/bin/python3.4 # -*- coding: utf-8 -*- import os # 字节bytes转化kb\m\g def formatSize(bytes): try: bytes = float(bytes) kb = bytes / 1 阅读全文
posted @ 2021-11-10 15:55 brady-wang 阅读(4684) 评论(0) 推荐(0) 编辑