title: Saving, storing, and changing data with python 3
body: <p>I'm trying to make a script that saves the page of a pdf by:</p>
  
  <ol>
  <li>saving the name</li>
  <li>saving the page number</li>
  </ol>
  
  <p>then I want to be able to type into the python console something like "Book 1"</p>
  
  <p>then it would ask "page #?"</p>
  
  <p>Then I type "32"</p>
  
  <p>then it saves "Book 1 page 32"</p>
  
  <p>Then the next time I type "Book 1"</p>
  
  <p>I want it to return "Page 32"</p>
  
  <p>And if I want to update the page I type something like Book 1 update, and it saves the new page number I enter.</p>
  
  <p>How do I go about saving info like this? I know I could change the code each time but at that point its basically a .txt file.</p>
  
  <p>Is there a common way of creating save files like this that can be modified later in python?</p>