class documentation

Undocumented

Method __init__ Undocumented
Method files Return a Traversable object for the loaded package.
Method is_resource Return True if the named 'path' is a resource.
Method open_resource Return an opened, file-like object for binary reading.
Instance Variable archive Undocumented
Instance Variable prefix Undocumented

Inherited from TraversableResources:

Method contents Return an iterable of entries in `package`.
Method resource_path Return the file system path to the specified resource.
def __init__(self, loader, module): (source)

Undocumented

def files(self): (source)

Return a Traversable object for the loaded package.

def is_resource(self, path): (source)

Return True if the named 'path' is a resource. Files are resources, directories are not.

def open_resource(self, resource): (source)

Return an opened, file-like object for binary reading. The 'resource' argument is expected to represent only a file name. If the resource cannot be found, FileNotFoundError is raised.

Undocumented

Undocumented