Programming Guide
API Reference
BaseFilesystemFinder
BaseFilesystemFinder.find()
BaseFilesystemFinder.settings_attr
FilesystemFinder
FilesystemFinder.settings_attr
Base class for searching filesystem directories
Finds a file in the configured paths returning its absolute path.
path (pathlib.Path) – The path to find
The absolute path to the file or None if not found
Name of the attribute in Settings containing a list of paths the finder should search in.
Settings
str
Find data in settings.DATA_DIRS
settings.DATA_DIRS
Find shaders in settings.PROGRAM_DIRS
settings.PROGRAM_DIRS
Find scenes in settings.SCENE_DIRS
settings.SCENE_DIRS
Find textures in settings.TEXTURE_DIRS
settings.TEXTURE_DIRS