我开始使用 PYQT 并且我的 IDE PyScripter 在我第二次启动时系统地关闭了!即使对于非常简单的代码,例如:
#!/usr/bin/env python
import sys
from PyQt4.QtGui import QLabel, QApplication
if __name__=='__main__':
App = QApplication(sys.argv)
Label = QLabel( "Hello World!" )
Label.show()
App.exec_()
PyScripter 版本 2.4.1.0 ;蟒蛇2.7.1;PyQT4