[Python-ideas] Add appdirs module to stdlib

Terry Reedy tjreedy at udel.edu
Wed Sep 2 06:31:33 CEST 2015

On 9/1/2015 5:04 PM, Paul Moore wrote:
> On 1 September 2015 at 17:19, John Wong <gokoproject at gmail.com> wrote:
>> But is appdirs only useful if you are running something that's more toward
>> system package / desktop application? A lot of projects today create their
>> own directory to save data, many use $HOME/DOTCUSTOM_DIR. So the use case of
>> appdirs should be addressed.
> But that is not appropriate on Windows. Appdirs gives the above on
> Unix, but %APPDATA%\Appname on Windows, which conforms properly to
> platform standards.

The problem with Windows is that the standard is to put things in an 
invisible directory, which makes it difficult to tell people, especially 
non-experts, to edit a file in the directory.

Games that expect people to edit .ini files put them in the game directory.

Terry Jan Reedy

More information about the Python-ideas mailing list