os.Path.exists

Checks if a file exists.

Syntax

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

Usage

The function returns TRUE if the file exists, FALSE otherwise.