dirresource
from direct.pyinst.resource import dirresource
A sublcass for a directory.
Generally transformed to a list of files through contents() and filtered by file extensions or resource type. Note that contents() is smart enough to regard a .py and .pyc as the same resource.
Inheritance:
dirresource
:
Methods of dirresource:
__init__
asFilter
contents
__init__
def __init__(self, name, fullname=None)
Undocumented function.
asFilter
def asFilter(self)
Undocumented function.
contents
def contents(self, prefix='')
Return the list of (typed) resources in self.name