News for hackers. Stuff that matters.
Re:Use the XDG Base Directory Specification by BiteCode_dev on Friday March 24, 2023 @03:15AM (#35286004)
If you use Python, the wonderful "appdirs" package will make using the best dir for the job on Windows, Mac and Linux, easy and transparent: https://pypi.org/project/appdirs/

I wish it was part of the stdlib.

Re:Use the XDG Base Directory Specification by sscherfke on Friday March 24, 2023 @10:36AM (#35289599)
appdirs has officially been deprecated.

Its successor is https://pypi.org/project/platformdirs/

Re:Use the XDG Base Directory Specification by spott on Friday March 24, 2023 @10:56AM (#35289868)
Except neither appdirs or platformdirs obey xdg on Mac, without an option to override.

Which makes this less than ideal.