Python os.EX_NOPERM Constant
Example
Exit code when insufficient permission to perform operation:
#Import os Library
import os
# Exit code
os._exit(os.EX_NOPERM)
Try it Yourself »
Definition and Usage
The os.EX_NOPERM
exit code represents that there were insufficient permissions to perform the operation (but not intended for file system problems).
Note: Available only on UNIX platforms.
Syntax
os.EX_NOPERM
Technical Details
Return Value: | None |
---|---|
Python Version: | 2.3 |