Panda3D
Public Member Functions | Public Attributes | List of all members
VFSImporter Class Reference

Public Member Functions

def __init__ (self, path)
 
def 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__()

def __init__ (   self,
  path 
)

Member Function Documentation

◆ find_module()

def find_module (   self,
  fullname,
  path = None 
)

Member Data Documentation

◆ dir_path

dir_path