[Tutor] Stopping A Program

alan.gauld@bt.com alan.gauld@bt.com
Tue, 15 Oct 2002 14:57:14 +0100


> > raise SystemExit
> > or
> > import sys
> > sys.exit()

> I think you misunderstood (or my expression was bad) ... I 
> mean when a long program is running how do you terminate it. 

Uh, OK I misunderstood.

CTRL-C should work....unless you've caught the exception 
somewhere. Personally I wouldn't run any long term process 
from IDLE I'd crank upm a DOS box for that...

Alan G.