3 ms·
And on Windows that has just made the mess even worse. Applications writing to %USERPROFILE%\Documents, %APPDATA%, %LOCALAPPDATA%, %USERPROFILE%, and %USERPROFI
by ziml77 5y ago
And on Windows that has just made the mess even worse. Applications writing to %USERPROFILE%\Documents, %APPDATA%, %LOCALAPPDATA%, %USERPROFILE%, and %USERPROFILE%\.config
Every language needs something like this library as part of the standard library https://pypi.org/project/appdirs/ https://pypi.org/project/appdirs/ It would at least make it a little more likely that files end up where they should.