Is there a keyboard short cut for accessing previous statements in python IDLE? I am using a Mac
Thanks
Is there a keyboard short cut for accessing previous statements in python IDLE? I am using a Mac
Thanks
On Windows this hotkey is alt-p.
However, assuming IDLE has options in Mac ;) you should be able to find out by going to Options->Configure IDLE. Then look in the Keys tab and under Custom Key Bindings, look for "history-previous".
That should tell you what you need to know.
Using IDLE on the MAC you would need Ctrl+P (not command) for Previous statement (instruction) and Ctrl+N for Next statement.
I was struggling with this same question as I am always using the Up arrow on most of the "shell" style programs.
Also, you can scroll back up to any previous line and hit 'return', which will place that statement in the current working line.
© 2022 - 2024 — McMap. All rights reserved.