Class ZipFileImporter.ZipFileLoader

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    ZipFileImporter

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

      • ZipFileLoader

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

      • load_module

        public PyObject load_module​(java.lang.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 java.lang.String toString()
        Returns a string representation of the object.
        Overrides:
        toString in class PyObject
        Returns:
        a string representation of the object.