> I have just started python, and want to know how to > `exit'. There ae several ways but the most general, but least used is: raise SystemExit usually you see: import sys ... sys.exit() You can find explanations of this in my online beginners tutor: http://www.crosswinds.net/~agauld/ Alan G.