dialog_MotorSetting.py 文件源码

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

项目:Farmbot_GeneralAP 作者: SpongeYao 项目源码 文件源码
def apply(self):
        try:
            spd_X = int(self.entry_Speed_X.get())
            acc_X = int(self.entry_Acc_X.get())
            spd_Y = int(self.entry_Speed_Y.get())
            acc_Y = int(self.entry_Acc_Y.get())
            spd_Z = int(self.entry_Speed_Z.get())
            acc_Z = int(self.entry_Acc_Z.get())

            self.result= spd_X, acc_X, spd_Y, acc_Y, spd_Z, acc_Z
            print spd_X, spd_Y, spd_Z # or something
        except ValueError:
            tkMessageBox.showwarning("Bad input","Illegal values, please try again")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号