Python os.EX_IOERR Constant
Example
Exit code if error occured during I/O on some file:
#Import os Library
import os
# Exit code
os._exit(os.EX_IOERR)
Try it Yourself »
Definition and Usage
The os.EX_IOERR
exit code representing an error occurred while doing input/output on some file.
Note: Available only on UNIX platforms.
Syntax
os.EX_IOERR
Technical Details
Return Value: | None |
---|---|
Python Version: | 2.3 |