title: Where is console input history stored on Python for Windows?
body: <p>Good afternoon,</p>
  
  <p><strong>The Question</strong></p>
  
  <p>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?</p>
  
  <p><strong>The Context</strong></p>
  
  <p>I am curious about where Python.exe stores the entries typed out from the command line, <em>not</em> the Tkinter GUI. I'm particularly interested in this because I've noticed you can resort to previous entries if you are typing in <code>raw_input()</code>. There have been many discussions in regards to <code>raw_input()</code> and <code>input()</code> receiving some sort of default argument that is editable.</p>
  
  <p>See. <a href="https://stackoverflow.com/questions/2533120/show-default-value-for-editing-on-python-input-possible">This link to a related SO question</a></p>
  
  <p>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.</p>
  
  <p>Notes on these modules:</p>
  
  <p><code>readline</code> is GNU based and does not work properly in Windows.</p>
  
  <p><code>pyreadline</code> does not benefit the command line interpreter.</p>
  
  <p><code>curses</code> is GNU based and does not work at all in Windows.</p>
  
  <p><strong>A Follow up</strong></p>
  
  <p>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>
  
  <hr>
  
  <p>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.</p>
  
  <p>Sir James</p>