Terminating Python...

Sim & Golda Zacks simngolda at voyager.net
Wed Jul 14 20:12:52 EDT 1999


I use raise SystemExit which is documented in "Internet Programming with
Python"

Greg Ewing wrote:

> "Velasquez, Carlos" wrote:
> >
> > Hello,
> >
> > I just downloaded and built Python v1.51 for the Sun Solaris platform.
> > One question is, how do I exit python?
>
> Ctrl-D at the interpreter prompt should do the trick.
> Or if it's running code, Ctrl-C to get its attention
> and then Ctrl-D.
>
> Greg





More information about the Python-list mailing list