new python27code and for pyqtcode