clipspy-1.0.0/clips/environment.py
def load(self, path: str, binary: bool = False):
        """Load a set of constructs into the CLIPS data base.

        If constructs were saved in binary format,
        the binary parameter should be set to True.

        Equivalent to the CLIPS (load) function.

        """
        if binary:
            if not lib.Bload(self._env, path.encode()):
                raise CLIPSError(self._env)
        else:
            ret = lib.Load(self._env, path.encode())
            if ret != lib.LE_NO_ERROR:
                raise CLIPSError(self._env, code=ret)
Load a set of constructs into the CLIPS data base.

        If constructs were saved in binary format,
        the binary parameter should be set to True.

        Equivalent to the CLIPS (load) function.

        
Load a set of constructs into the CLIPS data base.
If constructs were saved in binary format,
the binary parameter should be set to True.

Equivalent to the CLIPS (load) function.
Load a set of constructs into the CLIPS data base . If constructs were saved in binary format the binary parameter should be set to True . Equivalent to the CLIPS ( load ) function .
def load(self, path: str, binary: bool = False):
        if binary:
            if not lib.Bload(self._env, path.encode()):
                raise CLIPSError(self._env)
        else:
            ret = lib.Load(self._env, path.encode())
            if ret != lib.LE_NO_ERROR:
                raise CLIPSError(self._env, code=ret)
def load ( self , path : str , binary : bool = False ) : if binary : if not lib . Bload ( self . _env , path . encode ( ) ) : raise CLIPSError ( self . _env ) else : ret = lib . Load ( self . _env , path . encode ( ) ) if ret != lib . LE_NO_ERROR : raise CLIPSError ( self . _env , code = ret )
Load a set of constructs into the CLIPS data base.
Load a set of constructs into the CLIPS data base .
"""Load a set of constructs into the CLIPS data base.

        If constructs were saved in binary format,
        the binary parameter should be set to True.

        Equivalent to the CLIPS (load) function.

        """
self
path
str
binary
bool