import os
os.path.getsize('C:\\Python27\\Lib\\genericpath.py')
OR
os.stat('C:\\Python27\\Lib\\genericpath.py').st_size
import os
os.path.getsize('C:\\Python27\\Lib\\genericpath.py')
OR
os.stat('C:\\Python27\\Lib\\genericpath.py').st_size
本文标题:python:get file size
本文链接:https://www.haomeiwen.com/subject/oebovttx.html
网友评论