Python os.EX_NOTFOUND Constant
Example
Exit code when an entry was not found:
#Import os Library
import os
# Exit code
os._exit(os.EX_NOTFOUND)
Try it Yourself »
Definition and Usage
The os.EX_NOTFOUND
exit code raised when an entry requested was not found.
Note: Available only on UNIX platforms.
Syntax
os.EX_NOTFOUND
Technical Details
Return Value: | None |
---|---|
Python Version: | 2.3 |