[issue7175] Define a standard location and API for configuration files

flying sheep report at bugs.python.org
Tue Sep 1 09:48:05 CEST 2015


flying sheep added the comment:

no, sorry, but ~/.python is wrong on linux.

there exists a standard about where things belong:

http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

it says that configuration stuff belongs into `XDG_CONFIG_HOME`, with a fallback to `~/.config/`

i propose to add the `appdirs` module to the stdlib so that programs finally don’t have to guess and hack around this kind of things.

https://pypi.python.org/pypi/appdirs

----------
nosy: +flying sheep

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7175>
_______________________________________


More information about the Python-bugs-list mailing list