Contents:
import_resources()
Loads resource files from a given package and returns them as list of Path-objects.
package (Union[ModuleType, str]) – Package to load the resources from.
Union
ModuleType
str
ext (str) – File extension, eg. “.json”. Defaults to “”.
recursive (bool) – Shall resources also load from subdirectories? Defaults to True.
bool
list[str]
list
List of the resources’ paths.