DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+1 =
Submit