def save_facts(self, path, mode=SaveMode.LOCAL_SAVE):
ret = lib.EnvSaveFacts(self._env, path.encode(), mode)<EOL>if ret == -<NUM_LIT:1>:<EOL><INDENT>raise CLIPSError(self._env)<EOL><DEDENT>return ret<EOL>
Save the facts in the system to the specified file.

        The Python equivalent of the CLIPS save-facts command.