easyidp.data.user_data_dir#

easyidp.data.user_data_dir(file_name='')#

Get OS specific data directory path for EasyIDP.

Parameters:

file_name (str) – file to be fetched from the data dir

Returns:

full path to the user-specific data dir

Return type:

str

Notes

Typical user data directories are:

macOS:    ~/Library/Application Support/easyidp.data
Unix:     ~/.local/share/easyidp.data   # or in $XDG_DATA_HOME, if defined
Win 10:   C:\Users\<username>\AppData\Local\easyidp.data

For Unix, we follow the XDG spec and support $XDG_DATA_HOME if defined.

Referenced from stackoverflow [1] then get github [2] .