from PyQt4.QtGui import * import sys uygulama = QApplication(sys.argv) pencere = QWidget() pencere.show() uygulama.exec_()