mutapath.Path.access

Path.access(mode)[source]

Return True if current user has access to this path.

mode - One of the constants os.F_OK, os.R_OK, os.W_OK, os.X_OK

See also

os.access()