python file size

36

python file size -

>>> import os
>>> b = os.path.getsize("/path/isa_005.mp3")
>>> b
2071611

python get size of file -

import os
os.path.getsize('C:\\Python27\\Lib\\genericpath.py')

Comments

Submit
0 Comments