Jun-08-2020, 10:48 PM
I think catosp is talking about something like command line retrieval that is supported by almost every command shell. And I have the ability to recall previous things I typed into a python script if I started that script from a shell. For example I rand a program from the Windows CMD shell:
Output:C:\musings>python echo.py
type something: I typed this
I typed this
type something: I typed this and used up arrow to recall "I typed this"
I typed this and used up arrow to recall "I typed this"
If you are running a program from IDLE you can access the "input" history by typing alt+p. For other terminals in other IDE's I imagine there are similar ways to reduce typing.