Package libxyz :: Module pselector :: Class PathSelector

[hide private]
[frames] | no frames]

# Class PathSelector

source code

    object --+
             |
            PathSelector

Class is used to select first appropriate path. Common rule is to load system file first and then user's one

Instance Methods | [hide private]

__init__(self) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

get_conf(self, conf) Return tuple of (system_conf_path, user_conf_path) | source code

get_skin(self, skin) Return tuple of (system_skin_path, user_skin_path) | source code

_get(self, subdir, obj) | source code

get_first_of(self, files) Return first existing file from supplied files or False in none exist | source code

get_plugins_dir(self) | source code

get_skins_dir(self) | source code

Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self)
(Constructor)

source code

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
  (inherited documentation)