Class ZipFileImporter.ZipFileLoader

java.lang.Object
org.python.core.PyObject
org.python.core.ZipFileImporter.ZipFileLoader
All Implemented Interfaces:
Serializable
Enclosing class:
ZipFileImporter

public class ZipFileImporter.ZipFileLoader extends PyObject
Loader for zipfile python sources.
See Also:
  • Constructor Details

    • ZipFileLoader

      public ZipFileLoader(org.python.core.ZipFileImporter.ZipModuleInfo info)
  • Method Details

    • load_module

      public PyObject load_module(String moduleName)
      A loaded module for the fully qualified name.
      Parameters:
      moduleName - the fully qualified name
      Returns:
      a loaded module (added to sys.path)
    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class PyObject
      Returns:
      a string representation of the object.