Gripe: Use Ctrl-D (i.e. EOF) to exit

Mark Jackson mjackson at alumni.caltech.edu
Mon Feb 23 17:41:43 EST 2004


"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()

-- 
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
	The *world* is arbitrary.  *Individuals* are either fair
	or unfair.  Which are you?	- Caulfield (Jef Mallett)





More information about the Python-list mailing list