Skip to content

Instantly share code, notes, and snippets.

@OiNutter
Created August 26, 2011 11:31
Show Gist options
  • Save OiNutter/1173233 to your computer and use it in GitHub Desktop.
Save OiNutter/1173233 to your computer and use it in GitHub Desktop.
OiNutter.co.uk - Python Wrangling
class MainWindow(QtGui.QMainWindow):
def __init__(self,parent=None):
super(MainWindow,self).__init__(parent)
QtGui.QMainWindow.__init__(self)
self.ui = uic.loadUi('main.ui', self)
app = QtGui.QApplication(sys.argv)
main = MainWindow()
main.show()
sys.exit(app.exec_())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment