DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python file size in bytes
import os file_size = os.path.getsize('d:/file.jpg') print("File Size is :", file_size, "bytes")
PREVIOUS
NEXT
Tagged:
#python
#file
#size
#bytes
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit