from direct.p3d.ScanDirectoryNode import ScanDirectoryNode
Deprecated since version 1.10.0: The p3d packaging system has been replaced with the new setuptools-based system. See the Distributing Panda3D Applications manual section.
- class ScanDirectoryNode(pathname, ignoreUsageXml=False)¶
This class is used to scan a list of files on disk.
- __init__(self, pathname, ignoreUsageXml=False)¶
- extractSubdir(self, pathname)¶
Finds the ScanDirectoryNode within this node that corresponds to the indicated full pathname. If it is found, removes it from its parent, and returns it. If it is not found, returns None.