os get file size not working code example
Example: python get size of file
import os
# get size in bytes
path = 'path/to/file.txt'
size = os.path.getsize(path)
import os
# get size in bytes
path = 'path/to/file.txt'
size = os.path.getsize(path)