Search
 
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
Name
6+9 =