You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See importlib.resources.contents() for a usage example and importlib.resources._ZipImportResourceReader for a implementation sample.
Using this function it should be possible to get all modules and resources of a package - both in a PYZ and on filesystem. Please mind: In Python 3.9 there is also importlib.resources.files(), which only returns "resources" and "subdirectories".
The text was updated successfully, but these errors were encountered:
Implement support for importlib.resources and a respective
ResourceReader.
See
importlib.resources.contents()
for a usage example andimportlib.resources._ZipImportResourceReader
for a implementation sample.Using this function it should be possible to get all modules and resources of a package - both in a PYZ and on filesystem. Please mind: In Python 3.9 there is also
importlib.resources.files()
, which only returns "resources" and "subdirectories".The text was updated successfully, but these errors were encountered: