file::size()
← Back to Class file
Get size of the file associated with the handle
There are no parameters.
number
import fileio f = file("data.txt", file_read) s = f.size() f.close()
Documentation version: 1.1.03. Updated on: 11 February 2026.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2026. All rights reserved.