use pyqt4 to create gui that runs python script,sys.exit(app.exec_())