I can get the home with os.path.expanduser(\"~\") but is there a standard way to get the config directory? Like ~/.config in most unices, or the value
os.path.expanduser(\"~\")
~/.config
You can take advantage of python third party library appdirs which does all the heavy lifting for you across multiple platforms ( Windows, Linux & Mac )