get file size from an uploaded document python 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)