Baffled by readline module

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 9 20:53:55 EST 2023


On 10/03/23 1:46 pm, Grant Edwards wrote:
> That's not how it acts for me. I have to "import readline" to get
> command line recall and editing.

Maybe this has changed? Or is platform dependent?

With Python 3.8 on MacOSX I can use up arrow with input()
to recall stuff I've typed before, without having to
import anything.

-- 
Greg


More information about the Python-list mailing list