exitcode Preferred system exit codes as defined by sysexits.h. This library is inspired by this rust library. Example All constants from the manpage sysexits(3) are available without the EX_ prefix. import exitcode import sys sys.exit(exitcode.OK)