Warning

🚧 Sprout is still in active development and evolving quickly, so the documentation and functionality may not work as described and could undergo substantial changes 🚧

core.path_resource

core.path_resource(package_id, resource_id)

Gets the absolute path to a given resource of a given package.

Parameters

package_id : int

ID of the package.

resource_id : int

ID of the resource.

Returns

: Path

A Path to the resource.