首 页 行业热点 新车 试驾评测 养车用车 车型库

python实现一个正方形的类的加减乘除

发布网友

我来回答

1个回答

热心网友

在你继承的类中写: def btnFirstFuniction( self, event ): num1=eval(self.m_textCtrl2.getValue()) num2=eval(self.m_textCtrl3.getValue()) ret=num1+num2 self.m_textCtrl6.setValue(str(ret))下面的都差不多 def btnSeondFuniction( self, event ): def btnThirdFuniction( self, event ): def btnFourthFuniction( self, event ): def btnFifithFuniction( self, event ):

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com