[CentralOH] Standard Names for Argument Values to sys.exit()

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Thu Jul 21 16:48:40 CEST 2011


Does Python (2.6) define standard argument values for sys.exit()? 
If so, what are they? 

For portability, I am used to using EXIT_SUCCESS and EXIT_FAILURE 
in C, because not all operating systems define success as 0 and 
failure as non-zero. I have been STFW for the Python versions of 
EXIT_SUCCESS and EXIT_FAILURE, but am getting the idea that Python 
does not have such. 

By the way, my attempts to connect to http://docs.python.org are 
being refused. Are others having the same difficulty? 



More information about the CentralOH mailing list