[Python-Dev] a quit that actually quits
Reinhold Birkenfeld
reinhold-birkenfeld-nospam at wolke7.net
Wed Dec 28 10:24:57 CET 2005
skip at pobox.com wrote:
> 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.
+1.
Reinhold
--
Mail address is perfectly valid!
More information about the Python-Dev
mailing list