HOWTO: exit

Moshe Zadka moshez at zadka.site.co.il
Sun Jul 22 15:06:46 EDT 2001


On Sun, 22 Jul 2001 13:17:35 -0500 (CDT), Vonlia <adam.seyfarth at home.com> wrote:

> Hi,
>      Sorry, I know this will be easy and I'm making alot of noise, but
> how do I exit from a script?  I was hoping for something like sh's
> `exit' command...Once again, sorry, I just got into the python thing
> (long time Monty Python liker, though C-:)

>>> import sys
>>> sys.exit()
-- 
gpg --keyserver keyserver.pgp.com --recv-keys 46D01BD6 54C4E1FE
Secure (inaccessible): 4BD1 7705 EEC0 260A 7F21  4817 C7FC A636 46D0 1BD6
Insecure (accessible): C5A5 A8FA CA39 AB03 10B8  F116 1713 1BCF 54C4 E1FE




More information about the Python-list mailing list