class documentation
class ResourceContainer(Traversable): (source)
Traversable container for a package's resources via its reader.
Method | __init__ |
Undocumented |
Method | is |
Return True if self is a directory |
Method | is |
Return True if self is a file |
Method | iterdir |
Yield Traversable objects in self |
Method | open |
mode may be 'r' or 'rb' to open as text or binary. Return a handle suitable for reading (same as pathlib.Path.open). |
Instance Variable | reader |
Undocumented |
Inherited from Traversable
:
Method | __truediv__ |
Return Traversable child in self |
Method | joinpath |
Return Traversable resolved with any descendants applied. |
Method | read |
Read contents of self as bytes |
Method | read |
Read contents of self as text |
Property | name |
The base name of this object without any parent references. |