[Mark Jackson] > "Mike Maxwell" <maxwell at ldc.upenn.edu> writes: > > Why isn't there a command or function to drop out of Python??!! > from sys import exit > exit() Or maybe, a bit simpler: raise SystemExit One may also manage to merely fall to the end of your __main__ module. -- François Pinard http://www.iro.umontreal.ca/~pinard