python qt编程

参考地址:https://files.cnblogs.com/coderzh/pdf/Getting_Started_With_PyQt4_v1.pdf

import sys
from PyQt4.QtGui import QApplication, QPushButton
app
= QApplication(sys.argv)
button
= QPushButton("Hello world!")
button.show()
sys.exit(app.exec_())

  

posted @ 2011-09-16 18:25  wangkangluo1  阅读(531)  评论(0编辑  收藏  举报