osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Application Preferences


Hi Dave,

> I agree that a traditional INI file is the easiest way, especially since Python supports them.  So if I understand you, your apps look like this:

Yes with the following nuance for our application sized scripts that require multiple configuration files. In this latter case, we place all config files in a ../conf folder (see the OR option below).

-App Dir
   |
   +-App Code Folder (src)
      |
      +-App INI file

OR

-App Dir
   |
   +-conf
      |
      +-App INI file

AND

-Home Folder (the default location, but user can select other locations)
   |
   +-App INI Folder
      |
      +-App INI file

Malcolm