Blog - Technology, Programming
basic "Hello World" GUI application using Python and Qt (PyQt4)
from PyQt4 import Qt
app = Qt.QApplication(sys.argv)
lbl = Qt.QLabel('Hello World')
PyQt is great. I'm a bit torn between the Qt3 api, which had several handy shortcuts for programmatically creating interfaces. Qt4 exchanged that for more consistency. Ohwell, both are win for me.
I've just been playing with Qt4 a bit, and it is nice. Though I still think wx is my fav GUI toolkit. and Tk looks pretty (finally) in the newer versions of Python (2.7/3.1)
Post a Comment