source: orange/docs/reference/rst/code/ @ 9638:eb3af38491f2

Revision 9638:eb3af38491f2, 361 bytes checked in by umek@…, 2 years ago (diff)

Changed table to data or name of the data set.

For example - instead of

table ="housing")

is changed to

housing ="housing")

1# Description: Export to Weka ARFF format
2# Category:    data
3# Uses:        iris
4# Referenced:
5# Classes:
7import Orange
8iris ='')'iris.testsave.arff', iris)'iris.testsave.arff')
11f = open('iris.testsave.arff')
12for line in f:
13    print line.strip()
Note: See TracBrowser for help on using the repository browser.