Python os.EX_NOINPUT Constant
Example
Exit code if input file not exist or unreadable:
#Import os Library
import os
# Exit code
os._exit(os.EX_NOINPUT)
Try it Yourself »
Definition and Usage
The os.EX_NOINPUT
exit code when an input file did not exist or unreadable.
Note: Available only on UNIX platforms.
Syntax
os.EX_NOINPUT
Technical Details
Return Value: | None |
---|---|
Python Version: | 2.3 |