[Python-Dev] a quit that actually quits (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Tue Dec 27 22:28:17 CET 2005


Hans Nowak wrote:

Granted, it's not a big problem, but it is annoying. IMHO, it would be more useful if you could just type 'exit' or 'quit' (like in many other interpreters) and be done with it, rather than having to remember the correct key combination. (A key combination which has nothing to do with the Python language per se.)

If you want to type something consistently across platforms, you can currently do

raise SystemExit

Regards, Martin



More information about the Python-Dev mailing list