easyidp.data.user_data_dir#
- easyidp.data.user_data_dir(file_name='')#
Get OS specific data directory path for EasyIDP.
- パラメータ:
file_name (str) -- file to be fetched from the data dir
- 戻り値:
full path to the user-specific data dir
- 戻り値の型:
str
メモ
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] .
参照