Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VFSImporter Class Reference

Public Member Functions

 __init__ (self, path)
 
 find_module (self, fullname, path=None)
 

Public Attributes

 dir_path
 

Detailed Description

 This class serves as a Python importer to support loading
Python .py and .pyc/.pyo files from Panda's Virtual File System,
which allows loading Python source files from mounted .mf files
(among other places). 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
path )

Member Function Documentation

◆ find_module()

find_module ( self,
fullname,
path = None )

Member Data Documentation

◆ dir_path

dir_path