Gripe: Use Ctrl-D (i.e. EOF) to exit
Erno Kuusela
erno-news at erno.iki.fi
Mon Feb 23 19:27:21 EST 2004
"Mike Maxwell" <maxwell at ldc.upenn.edu> writes:
> <vent> I see there has been traffic over the years on this gripe, so just
> let me vent my frustration, and add another reason why 'exit' (or possibly
> exit() or quit() or halt() or some such) should exit Python, rather than
> giving the ridiculous msg
>
> Use Ctrl-D (i.e. EOF) to exit.
of course typing EOF is the normal way to tell any unix stdio app to
exit. but the EOF key depends on your tty settings and is set with
stty. hardcoding ctrl-d is strictly speaking broken ;)
-- erno
More information about the Python-list
mailing list