9951 explained code solutions for 126 technologies


pythonHow to get file size


import os
size = os.path.getsize('/path/to/file')ctrl + c
import os

we need this module to set or get environment variables

path.getsize

return size of the file in bytes by path

/path/to/file

path to file to get size of