title: Give the Python Terminal a Persistent History
body: <p>Is there a way to tell the interactive Python shell to preserve its history of executed commands between sessions?</p>
  
  <p>While a session is running, after commands have been executed, I can arrow up and access said commands, I'm just wondering if there is some way for a certain number of these commands to be saved until the next time I use the Python shell.</p>
  
  <p>This would be very useful since I find myself reusing commands in a session, that I used at the end of the last session.</p>