Last updated:
0 purchases
qrcpathlib 1.0.2
qrc_pathlib
Qt Resource System allows to store files
inside binaries and read them by using Qt’s file system abstraction (QFile, QDir etc).
This package extends pathlib introduced in Python 3.4
by implementing Path and PurePath for QRS:
from qrc_pathlib import QrcPath
QrcPath(':my_resource.svg').read_bytes()
with QrcPath(':hello.txt').open() as f:
print(f.read())
Since QRS is read-only all methods that are supposed to modify files raise PermissionError. Other inapplicable methods
such as stat will raise NotImplementedError.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.