hzm1815007 2021-09-03 18:03 采纳率: 85.7%
浏览 12
已结题

if self.count >= TASK_RANGE: 语法是什么意思? 提示语法错误 wxpython

代码如下

def OnOk(self, e):

    if self.count >= TASK_RANGE:
    return
    self.timer.Start(100)
    self.text.SetLabel('Task in Progress')
def OnStop(self, e):
    if self.count == 0 or self.count >= TASK_RANGE or not self.timer.IsRunning():
        return
        self.timer.Stop()
        self.text.SetLabel('Task Interrupted')
  • 写回答

3条回答 默认 最新

查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 9月11日
  • 已采纳回答 9月3日
  • 创建了问题 9月3日