os.Path.size

Returns the size of a file.

Syntax

os.Path.size(
   fname STRING)
  RETURNING result INTEGER
  1. fname is the file name.

Usage

The function returns the size in bytes for the specified file.