Skip to content

Windows appdata folder is not being used? #3

@freerror

Description

@freerror

From a look through the repo it doesn't look like the appdata directory is used on the windows platform, unless I've missed it.

That would be a pretty easy to implement, assuming there isn't some intentional logic behind not using it. My understanding is the %appdata% (~/Appdata/Roaming) folder is the de facto place for installed applications to store data.

You can obtain this directory on a Windows machine with:

import os

print os.getenv('APPDATA')

Happy to discuss. I was basically in the process of writing my own implementation, when I found this repo. Is there anything similar out there for python or built in? It'd be nice to have a cross-platform library for app storage that knows about the XDG base directory spec and whatever the windows spec is, something equivalent to this:

$XDG_DATA_HOME = %LOCALAPPDATA%
$XDG_DATA_DIRS = %APPDATA%
$XDG_CONFIG_HOME = %LOCALAPPDATA%
$XDG_CONFIG_DIRS = %APPDATA%
$XDG_CACHE_HOME = %TEMP%
$XDG_RUNTIME_DIR = %TEMP%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions