Newbie: How to do an exit ?

Bill Scherer scherbi at bam.com
Fri Apr 7 08:34:56 EDT 2000


import sys
sys.exit(0)


 - or -

raise SystemExit

Pascal Fremaux wrote:

> How to exit from a program ?
> I don't find a command such as exit(0) in C
>
> --
>  Pascal Fremaux, SSII Alten
>  Study Engineer at Alcatel Telecom
>  R&D, Illkirch, France
>
> --
> http://www.python.org/mailman/listinfo/python-list

--
William K. Scherer
Sr. Member of Applications Staff
Verizon Wireless







More information about the Python-list mailing list