The "loop and a half"
Chris Angelico
rosuav at gmail.com
Sun Oct 8 13:57:26 EDT 2017
On Mon, Oct 9, 2017 at 3:37 AM, Stefan Ram <ram at zedat.fu-berlin.de> wrote:
> Gregory Ewing <greg.ewing at canterbury.ac.nz> writes:
>>bartc wrote:
>>>Interactive Python requires quit() or exit(), complete with parentheses.
>>Er, what? Ctrl-D works fine for me to exit Python when not
>>in the midst of entering a block.
>
> Under Microsoft Windows, one can press
>
> Alt-Space
>
> to open the window menu and then
>
> C
>
> to close the window. Since this already works with nearly
> every other window, it seems natural to use this also with
> the Python console.
Also works in any other standards-compliant OS.
> (Disclaimer: I don't whether Microsoft is retiring the
> Windows menu in Windows 10.)
See above comment :|
ChrisA
More information about the Python-list
mailing list