python qt编程

参考地址:http://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_())

  

你可能感兴趣的:(python)