How to repeat last command in python interpreter shell?

后端 未结 26 1164
一个人的身影
一个人的身影 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 17:00

    alt+p  
    go into options tab
    configure idle
    Keys
    

    look under history-previous for the command, you can change it to something you like better once here.

提交回复
热议问题