Good afternoon,
The Question
Is there a particular spot that the entries are stored, or is it just a local set of stored variables, for the windows version of Python?
The Context
I am curious about where Python.exe stores the entries typed out from the command line, not the Tkinter GUI. I'm particularly interested in this because I've noticed you can resort to previous entries if you are typing in raw_input()
. There have been many discussions in regards to raw_input()
and input()
receiving some sort of default argument that is editable.
See. This link to a related SO question
Obviously this is very doable with Linux / GNU with modules that will allow you to take advantage of Bash's format. Windows users are unlucky in that regard.
Notes on these modules:
readline
is GNU based and does not work properly in Windows.
pyreadline
does not benefit the command line interpreter.
curses
is GNU based and does not work at all in Windows.
A Follow up
The conclusion I'm arriving to is that if the user is given a pre-defined set of entries, you can limit what is entered into the command space.
P.S. - I understand it is much easier to just create a PySide, Tkinter or "other"-based GUIs to get around what I'm asking.
Sir James