source: orange/Orange/doc/reference/pythonvariable2d.py @ 9671:a7b056375472

Revision 9671:a7b056375472, 325 bytes checked in by anze <anze.staric@…>, 2 years ago (diff)

Moved orange to Orange (part 2)

Line 
1import orange, math
2
3def perfectSquares(x):
4    return filter(lambda x:math.floor(math.sqrt(x)) == math.sqrt(x), range(x+1))
5
6class A:
7    def __init__(self, x):
8        self.x = x
9    def __str__(self):
10        return "value: %s" % self.x
11
12a = 12
13
14data = orange.ExampleTable("pythonvariable.tab")
15for i in data:
16    print i
Note: See TracBrowser for help on using the repository browser.