Python os.EX_CONFIG Constant
Example
Exit code if any configuration error occurs:
#Import os Library
import os
# Exit code
os._exit(os.EX_CONFIG)
Try it Yourself »
Definition and Usage
The os.EX_CONFIG
exit code represents that some kind of configuration error occurs during the program run.
Note: Available only on UNIX platforms.
Syntax
os.EX_CONFIG
Technical Details
Return Value: | None |
---|---|
Python Version: | 2.3 |