Panda3D
Public Member Functions

PackageArchive Class Reference

Inheritance diagram for PackageArchive:
PackageArchiveImporter Importer

List of all members.

Public Member Functions

def __init__
def get_archive

Constructor & Destructor Documentation

def __init__ (   self,
  modname,
  archive_pathname 
)

Member Function Documentation

def get_archive (   self,
  modname 
)
Get an archive of modules.

This method should locate an archive and return a value which can be
used by get_subfile to load modules from it. The value may be a simple
pathname, an open file, or a complex object that caches information
for future imports.

Return None if the archive was not found.

Reimplemented from PackageArchiveImporter.

 All Classes Namespaces Functions Variables Properties