On 6/4/19 2:49 AM, Steven D'Aprano wrote: > The bad news is that this only works on Linux and other Unix systems > with readline installed (which nearly all of them do). It won't work > under Windows. > > But if you install the third-party library pyreadline, you *may* be able > to use that instead: > > import pyreadline as readline > > and the rest might work. (I don't have Windows and can't try it.)
you don't need to change code, the installation of pyreadline also adds a stub so that "import readline" works. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor