[Python-Dev] a quit that actually quits
skip@pobox.com
skip at pobox.com
Wed Dec 28 05:40:56 CET 2005
Fredrik> a quit/exit command that actually quits, instead of printing a
Fredrik> "you didn't say please!" message.
I like Fredrik's idea more and more. Without my Unix bifocals it wouldn't
occur to me that Ctrl-D is the way to exit. Knowing Ctrl-Z is EOF on
Windows, it wouldn't occur to me that I'd also have to hit Return. Without
my Python shades I'd never guess to exit via "raise SystemExit". While the
raise command is "one true way", it certainly won't occur to newbies. I
have no idea how I'd exit from Pippy or from the interpreter prompt on a
Nokia phone without it.
In short, I think it makes a lot of sense to support a bare "exit" and/or
"quit" as a completely intuitive platform-independent newbie-friendly way to
exit the interpreter.
Skip
More information about the Python-Dev
mailing list