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

Bryan Harris brywilharris at gmail.com
Thu Jul 21 17:46:45 CEST 2011


I am able to access that site right now.

On Thu, Jul 21, 2011 at 10:48 AM,  <jep200404 at columbus.rr.com> wrote:
> 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?
>
> _______________________________________________
> CentralOH mailing list
> CentralOH at python.org
> http://mail.python.org/mailman/listinfo/centraloh
>


More information about the CentralOH mailing list