Skip to content

Instantly share code, notes, and snippets.

@mrkschan
Created October 18, 2010 13:49
Show Gist options
  • Save mrkschan/632242 to your computer and use it in GitHub Desktop.
Save mrkschan/632242 to your computer and use it in GitHub Desktop.
def count_down(self, counting=3):
''' called before manauton '''
label = 'Prepare to speak: '
for i in xrange(counting):
label += str(counting - i) + '... '
threading.Thread(target=self.hint_label.set_text, args=(label,)).start()
time.sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment