On Mon, 30 Sep 2019 at 15:51, Barry Scott <ba...@barrys-emacs.org> wrote: > > > On 30 Sep 2019, at 14:17, Paul Moore <p.f.mo...@gmail.com> wrote: > > > > How does this compare to the existing appdirs module on PyPI? > > > > I did not know about appdirs.
Fair enough ;-) > It does not seem to have separate read vs. save paths. > Required for XDG specification where a path of config folder is defined. > > On 1st run the config may be in a system directory which the user cannot > write to. > Saving a config file will go into the users config file. > On the 2nd run that users config should be read not the system config. > > appdirs covers the location of more type of files, like cache and data. Interesting - thanks for the comparison, I'll take a detailed look next time I need this type of functionality. Paul -- https://mail.python.org/mailman/listinfo/python-list