PyQt4在spyder中使用,程序只能运行一次,第二次运行报错:It seems the kernel died unexpectedly. Use 'Restart kernel' to cont
问题:PyQt4在spyder中使用,程序只能运行一次,第二次运行报错:It seems the kernel died unexpectedly. Use 'Restart kernel' to cont。只能关闭掉spyder后,重新打开方能再次运行。解决方法:在程序中app = QtGui.QApplication( sys.argv )这句之后添加app.aboutToQuit.con
原创
2015-12-02 11:28:06 ·
7778 阅读 ·
4 评论