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.0.16. Updated on: 14 July 2025.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2025. All rights reserved.