os.supports_effective_ids
A Set
object indicating which functions in the os
module permit use of the effective_ids parameter for os.access()
. If the local platform supports it, the collection will contain os.access()
, otherwise it will be empty.
To check whether you can use the effective_ids parameter for os.access()
, use the in
operator on supports_effective_ids
, like so:
os.access in os.supports_effective_ids
Currently effective_ids only works on Unix platforms; it does not work on Windows.
New in version 3.3.
Please login to continue.