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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file absresgetter-0.0.12.tar.gz
.
File metadata
-
Download URL:
absresgetter-0.0.12.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
-
Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 CPython/3.7.6
File hashes
Hashes for absresgetter-0.0.12.tar.gz
Algorithm |
Hash digest |
|
SHA256 |
28c0d86395eadacd18670ee0292f84ca8940f47177c19af6715efb314b0f1f6f |
|
MD5 |
8b4a082eacff8f90ef3088b30d9d9b17 |
|
BLAKE2b-256 |
9de8b1c7b9dcb177bbf1931f12860520d66d8c22b6609e0f45bf85ffe3e0c010 |
|
See more details on using hashes here.
File details
Details for the file absresgetter-0.0.12-py3-none-any.whl
.
File metadata
-
Download URL:
absresgetter-0.0.12-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
-
Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 CPython/3.7.6
File hashes
Hashes for absresgetter-0.0.12-py3-none-any.whl
Algorithm |
Hash digest |
|
SHA256 |
d3a307b67b9a792983774fbcd8aec8e375a3e863f190e4e3c502e7c74f6c15bf |
|
MD5 |
26ece5ac203f64ccb22f00478a870e0b |
|
BLAKE2b-256 |
aae19db69e848021c9485f00abdb9796e2ece65db2cb42df016ef900ae54c027 |
|
See more details on using hashes here.