Weka CPython 的 Hello World 示例
轉到
Explorer
,開啟iris.arff
資料,然後轉到CPython Scripting
,將以下程式碼行復制並貼上到Python Scripts
:
hi = "Hello, CPython of Weka!"
hello = hi.upper()
iris = py_data
info = iris.describe()
要檢視輸出,請轉到
Python Variables
,選擇hi
,然後單擊Get text