Python os.EX_PROTOCOL Constant
Example
Exit code if the protocol is illegal or invalid:
#Import os Library
import os
# Exit code
os._exit(os.EX_PROTOCOL)
Try it Yourself »
Definition and Usage
The os.EX_PROTOCOL
exit code represents that the protocol is used is illegal, invalid or not understood by the operating system.
Note: Available only on UNIX platforms.
Syntax
os.EX_PROTOCOL
Technical Details
Return Value: | None |
---|---|
Python Version: | 2.3 |