How to repeat last command in python interpreter shell?

后端 未结 26 1239
一个人的身影
一个人的身影 2020-11-29 16:43

How do I repeat the last command? The usual keys: Up, Ctrl+Up, Alt-p don\'t work. They produce nonsensical characters.

(ve)[kakarukeys@localhost ve]$ python
         


        
26条回答
  •  我在风中等你
    2020-11-29 16:53

    In IDLE, go to Options -> Configure IDLE -> Keys and there select history-next and then history-previous to change the keys.

    Then click on Get New Keys for Selection and you are ready to choose whatever key combination you want.

提交回复
热议问题