MHJFZ

  • Python获取文件大小

    一、Python获取文件大小字节 #使用os.path模块 import os size = os.path.getsize(‘example.txt’) print(‘文件大小为…

    编程 2025-01-07