#!/usr/bin/python import sys from form1 import * app=QApplication(sys.argv) form=Form1() app.setMainWidget(form) form.show() app.exec_loop()