determining appropriate platform-specific directories (Python 2)
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 2 version of the package.
Debian: Benjamin Drung <email@example.com>
12 May 2014
Leaders and contributors
Resources and communication
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.