[Tutor] Interactive editing of variables.

Mats Wichmann mats at wichmann.us
Tue Jun 4 08:08:03 EDT 2019


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.




More information about the Tutor mailing list