Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Feature] Specify default_data_dir by usage of a library in a cross-platform way #23

Open
LukePiewalker opened this issue May 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@LukePiewalker
Copy link
Contributor

Feature Description

Being able to specify the user home directory in a cross-platform compatible way for config paths
e.g.

from os.path import expanduser
home = expanduser("~")

From StackOverflow

Related Problem

We encountered some issues since in the config the home directory is sometimes hardcoded which cause a PermissionDeniedError since the usere does not exist on Win10.

Considered Alternatives

Alternative one could use of

from pathlib import Path
home = str(Path.home())

From StackOverflow

Additional Context

No response

Contact Details

No response

@LukePiewalker LukePiewalker added the enhancement New feature or request label May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant