source: orange/Orange/doc/modules/network_widget.py @ 9671:a7b056375472

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

Moved orange to Orange (part 2)

Line 
1import sys
2from PyQt4.QtGui import QApplication
3
4appl = QApplication(sys.argv)
5
6import orange
7import orngNetwork
8import OWNetExplorer
9
10net = orngNetwork.Network.read('musicians.net')
11net.items = orange.ExampleTable('musicians_items.tab')
12
13ow = OWNetExplorer.OWNetExplorer()
14ow.setNetwork(net)
15
16ow.show()
17appl.exec_()
Note: See TracBrowser for help on using the repository browser.