Re: Best practice for config files?
[email protected] (Stefan Ram) 22 May 2025 20:33:12 GMT
| Newsgroups | comp.lang.python |
|---|---|
| Organization | Stefan Ram |
| Message-ID | <[email protected]> |
[email protected] (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.)