Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | List of all members
VFSSharedImporter Class Reference

Public Member Functions

def __init__
 
def find_module
 
def getLoadedDirname
 

Detailed Description

This is a special importer that is added onto the meta_path
list, so that it is called before sys.path is traversed.  It uses
special logic to load one of the "shared" packages, by searching
the entire sys.path for all instances of this shared package, and
merging them. 

Constructor & Destructor Documentation

def __init__ (   self)

Member Function Documentation

def find_module (   self,
  fullname,
  path = None,
  reload = False 
)
def getLoadedDirname (   self,
  mod 
)
Returns the directory name that the indicated
conventionally-loaded module must have been loaded from.