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