mirceaciu

try for time

Jul 7th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. def runAction():    
  2.             while self.iterate:
  3.                 if self.contor <= 24:
  4.                     self.textbox.scroll(self.contor)
  5.                     time.sleep(1)
  6.                 else:
  7.                     self.iterate = False
  8.                     self.close()
  9. Timer(1, runAction())
Add Comment
Please, Sign In to add comment