os.Path.writable

Checks if a file is writable.

Syntax

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

Usage

The function returns TRUE if the file is writable, FALSE otherwise.