os.Path.size

Returns the size of a file.

Syntax

os.Path.size(
   path STRING)
  RETURNS INTEGER
  1. path is the path to a file.

Usage

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