core.paths module¶
Path management.
- core.paths.get(name, *paths)[source]¶
Returns the path registered under <name>, or an empty string if <name> is not known.
- core.paths.register(name, *path_elms, **kwargs)[source]¶
Registers a path constructed by <path_elms> under <name>. If multiple path elements are given, the last element will undergo case correction (see _identify_folder_name).
- Parameters:
name – a registered name corresponding to some path segment
path_elems – path elements, which will be joined to the root path
allow_create – If True, the registered path will be created if it does not already exist. Defaults to True.