Sujet : Re: Best practice for config files?
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.pythonDate : 22. May 2025, 21:33:12
Autres entêtes
Organisation : Stefan Ram
Message-ID : <path-20250522213301@ram.dialup.fu-berlin.de>
References : 1 2
ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
On Linux:
~/.config/YourAppName
But don't just build this path manually as the proper
code for Linux should follow the XDG convention. I hope
that the library does this correctly!
What I actually found on my harddisk was a "platformdirs"
package from "setuptools", which seems to know about XDG.
(I not sure whether the separated "platformdirs" from PyPI
is the same.)