Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get file size python

>>> import os
>>> b = os.path.getsize("/path/isa_005.mp3")/ (1024*1024)
>>> b
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #file #size #python
ADD COMMENT
Topic
Name
3+4 =