Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check the size of a file in python

import os
the_file_that_you_Want_to_check_the_size = os.path.getsize("The file Name")
print(the_file_that_you_Want_to_check_the_size)
# Your result #
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #size #file #python
ADD COMMENT
Topic
Name
2+6 =