title: Where to store the configuration files of python applications on Windows
body: <p>I have a python program that must work on Windows and Linux. There are some configuration options I normally store in a file, in a subdirectory of the program's directory.</p>
  
  <p>For Windows, I converted it to exe and created an Installer for it. And now I have the problem of dealing with the config file.</p>
  
  <p>What is the best place to save the configuration file? I have read that for Windows <code>os.environ['APPDATA']+'myAppName'</code> is the path that must be used. Is it correct? Is it standard? Will it work in all versions of Windows at least from XP (and at least in English and Spanish)?</p>
  
  <p>PD: I am not interested in using ConfigParser. Config file is in my own format and I have working code for reading/writing from it.</p>