Python os.EX_DATAERR Constant
Example
Exit code if input data is incorrect:
#Import os Library
import os
# Exit code
os._exit(os.EX_DATAERR)
Try it Yourself »
Definition and Usage
The os.EX_DATAERR exits code when the input data was incorrect. It is used for user's data and not system files.
Note: Available only on UNIX platforms.
Syntax
os.EX_DATAERR
Technical Details
| Return Value: | None |
|---|---|
| Python Version: | 2.3 |