键盘快捷键,用于使用Mac访问python IDLE中的先前语句

Lan*_*ana 7 python keyboard-shortcuts python-idle

是否有键盘快捷键用于访问python IDLE中的先前语句?我正在使用Mac

谢谢

Wil*_*iam 15

在Windows上,此热键是alt-p.

但是,假设IDLE在Mac中有选项;)您应该能够通过选择 - >配置IDLE找到答案.然后查看Keys选项卡并在Custom Key Bindings下,查找"history-previous".

那应该告诉你你需要知道什么.

  • Windows上的Alt + P和Alt + N. 在Mac上按Ctrl + P和Ctrl + N. (2认同)