开发者

keyboard short cut for accessing previous statements in python IDLE using a Mac

Is there a keyboard short cut for accessing previous statements in python开发者_JS百科 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜