source: orange/Orange/testing/regression/tests_20/modules_network_widget.py @ 9952:986e9cd806f4

Revision 9952:986e9cd806f4, 316 bytes checked in by Miha Stajdohar <miha.stajdohar@…>, 2 years ago (diff)

Tests moved and renamed from orange 20.

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.