0

クリップで変数を定義し、クリップ ファイルの実行後に値を返して、Python 変数に値を割り当てるにはどうすればよいですか。

from clips import Environment, Symbol 
env = Environment()
env.load('E:\\constructs_file_name.clp')
env.run()
#I am expecting a value after this execuation.

ここに私のconstructs_file_name.clpがあります

(deftemplate master-sequence
  (slot speed (type INTEGER))
  )

(defrule event1
=>
(printout t "Do some operation with clips variable and return a response" crlf))

ありがとうございました。

4

0 に答える 0