os.Path.writable

Checks if a file is writable.

Syntax

os.Path.writable(
   path STRING)
  RETURNS INTEGER
  1. path is the path to a file or directory.

Usage

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