OSC的介绍页:PyQt开发的俄罗斯方块游戏 wxPytris
wxPytris源码主页:http://eli.thegreenplace.net/2009/12/12/tetris-implemented-in-pyqt/
return 0 if len(self.scorelist) < self.max_length else self.scorelist[-1][1]
from PyQt4.QtCore import * from PyQt4.QtGui import * button = QPushButton('ok')比PyQt的例子
from PyQt4 import QtCore, QtGui button = QtGui.QPushButton('ok')的代码写起来方便多了。