Function
posixpath.getsize

Signature

getsize(filename)

Documentation String

Return the size of a file, reported by os.stat().