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