UserDirectory#

Added in version 2.14.

class UserDirectory#

These are logical ids for special directories which are defined depending on the platform used. You should use get_user_special_dir() to retrieve the full path associated to the logical id.

The UserDirectory enumeration can be extended at later date. Not every platform has a directory for every logical id in this enumeration.

Fields#

class UserDirectory
DIRECTORY_DESKTOP#

The user’s Desktop directory

DIRECTORY_DOCUMENTS#

The user’s Documents directory

DIRECTORY_DOWNLOAD#

The user’s Downloads directory

DIRECTORY_MUSIC#

The user’s Music directory

DIRECTORY_PICTURES#

The user’s Pictures directory

DIRECTORY_PUBLIC_SHARE#

The user’s shared directory

DIRECTORY_TEMPLATES#

The user’s Templates directory

DIRECTORY_VIDEOS#

The user’s Movies directory

N_DIRECTORIES#

The number of enum values