os.path.getsize()

os.path.getsize(filename)[source]

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