from PyQt4 import QtCore, QtGui sys.exit()
from PyQt4 import QtCore from PyQt4.QtGui import QApplication, QMainWindow, QDialog, QPushButton, QMessageBox sys.exit()