code: def load_facts(self, facts):
          
          facts = facts.encode()
  
          if os.path.exists(facts):
              ret = lib.EnvLoadFacts(self._env, facts)
              if ret == -1:
                  raise CLIPSError(self._env)
          else:
              ret = lib.EnvLoadFactsFromString(self._env, facts, -1)
              if ret == -1:
                  raise CLIPSError(self._env)
  
          return ret
docs: Load a set of facts into the CLIPS data base.
  
          The C equivalent of the CLIPS load-facts command.
  
          Facts can be loaded from a string or from a text file.