from PyQt4.QtGui import *
import sys
uygulama=QApplication(sys.argv)
pencere=QWidget()
pencere.setWindowTitle("python4hackers.com")
pencere.setMaximumWidth(200)
pencere.show()
uygulama.exec_()