Skip to main content

Get absolute resource path of exterior package

Project description

absresgetter

Get absolute resource path of exterior package

Setup

python -m pip install absresgetter

Description

There is only one method. getabsres(res: str) -> str

This package find the module in the stack which includes relative resource path like 'ico/sample.png'.

You can get the absolute path like 'C:/.../sample_exists_directory/ico/sample.png'.

Example

print(getabsres('ico/dark-notepad.svg')) # C:/.../ico_dark_notepad_exists_directory/ico/dark-notepad.svg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

absresgetter-0.0.12.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

absresgetter-0.0.12-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page