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