> >>Never mind. I found it - sys.exit()
You can do the same thing by
raise SystemExit
This avoids the need to import sys...
Alan G.
> >>
> >>Sorry to have wasted the bandwidth/time.
> >>--
> >
> >
> > This was in reference to a post about exiting from a program. I
couldn't
> > figure out
On Wed, 15 Jun 2005 07:46:40 -0600
Mike Hansen <[EMAIL PROTECTED]> wrote:
> > Subject:
> > Re: [Tutor] Controlling Where My Program Ends
> > From:
> > Don Parris <[EMAIL PROTECTED]>
> > Date:
> > Tue, 14 Jun 2005 23:03:59 -0400
> > To:
> Subject:
> Re: [Tutor] Controlling Where My Program Ends
> From:
> Don Parris <[EMAIL PROTECTED]>
> Date:
> Tue, 14 Jun 2005 23:03:59 -0400
> To:
> tutor@python.org
>
> To:
> tutor@python.org
>
>
> On Wed, 15 Jun 2005 00:59:24 -
> "
On Wed, 15 Jun 2005 00:59:24 -
"DC Parris" <[EMAIL PROTECTED]> wrote:
> Never mind. I found it - sys.exit()
>
> Sorry to have wasted the bandwidth/time.
> --
This was in reference to a post about exiting from a program. I couldn't
figure out why my program wouldn't let me exit from within
Never mind. I found it - sys.exit()
Sorry to have wasted the bandwidth/time.
--
DC Parris
Matheteuo Christian Fellowship
[EMAIL PROTECTED]
http://matheteuo.org/
Free software is like God's love - you can share it with anyone anywhere
anytime!
___
Tuto