pyface.resource.resource_path module

Functions to determine resource locations from the call stack.

This type of resource location is normally requested from the constructor for an object whose resources are relative to the module constructing the object.


Return a module reference calculated from the caller’s stack.

Note that what we want is the reference to the package containing the module in the stack. This is because we need a directory to search for our default resource sub-dirs as children.


Return a resource path calculated from the caller’s stack.