uiObj.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:caltrac 作者: shiburizu 项目源码 文件源码
def setup2(self):
        try:
            CalApp.inp = [self.nameInp.text.strip(' \t\n\r'),
                float(self.heightInp.text),
                float(self.weightInp.text),int(self.yearsInp.text),
                self.genderChoice]
            CalApp.sm.current='Profile2'

        except (TypeError,ValueError) as e:
            invalid = Popup(title='Invalid entries',
                content=Label(text='Check your data and try again.'),
                size_hint=(None, None),size=('250dp','150dp'))
            invalid.open()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号