The "loop and a half"
Terry Reedy
tjreedy at udel.edu
Sat Oct 7 13:09:02 EDT 2017
On 10/7/2017 10:45 AM, Grant Edwards wrote:
> On 2017-10-07, bartc <bc at freeuk.com> wrote:
>
>> Interactive Python requires quit() or exit(), complete with parentheses.
>
> Nonsense. On Unix you can just press ctrl-D (or whatever you have
> configured as eof) at the command prompt. On windows, it's Ctrl-Z
> <Enter>.
IDLE's shell quits on ^D at a prompt on all systems. (This became true
before I worked on IDLE.)
Clicking the [X] button should close any window on all systems.
--
Terry Jan Reedy
More information about the Python-list
mailing list