title: Store simple user settings in Python
body: <p>I am programming a website in which users will have a number of settings, such as their choice of colour scheme, etc. I'm happy to store these as plain text files, and security is not an issue.</p>
  
  <p>The way I currently see it is: there is a dictionary, where all the keys are users and the values are dictionaries with the users' settings in them.</p>
  
  <p>For example, userdb["bob"]["colour_scheme"] would have the value "blue".</p>
  
  <p>What is the best way to store it on file? Pickling the dictionary?</p>
  
  <p>Are there better ways of doing what I am trying to do?</p>