Persistent Python Command-Line History

前端 未结 5 816
灰色年华
灰色年华 2021-02-04 07:29

I\'d like to be able to \"up-arrow\" to commands that I input in a previous Python interpreter. I have found the readline module which offers functions like:

5条回答
提交回复
热议问题