ICI Modules: sys: access


Modules by name : by type

Synopsis

sys.access(string [, int])

Description

Determine accessibility of the file named in the first argument. If the file does not exist or the access mode is not permitted an error is raised.

The following variables are pre-defined by the sys module with int values derived from the system's C include files.

The default, no access mode is give, is sys.F_OK.