Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python file operation

import os

file_stat = os.stat('my_file.txt')
print(file_stat.st_size)
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #file #operation
ADD COMMENT
Topic
Name
6+7 =