From Free Software Directory
Revision as of 16:54, 15 August 2015 by WikiSysop (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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.



Verified by

Verified on




Verified by

Debian: Benjamin Drung <>

Verified on

12 May 2014


License: mit

Leaders and contributors

Resources and communication

AudienceResource typeURI
Debian (Ref)
Python (Ref)

Software prerequisites


Date 2015-07-17
Source Debian
Source link


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.