[ 源代码: appdirs ]
软件包:python3-appdirs(1.4.4-4)
determining appropriate platform-specific directories (Python 3)
Depending on your system (Linux, Mac OS X, or Windows), you have to use different directories for storing user data. appdirs will help you choose an appropriate:
* user data directory (user_data_dir function) * user config directory (user_config_dir function) * user cache directory (user_cache_dir function) * site data directory (site_data_dir function) * site config directory (site_config_dir function) * user log directory (user_log_dir function)
On Linux systems, these function return directories based on the XDG Base Directory Specification.
This is the Python 3 version of the package.