[Tutor] Python Tkinter event activated with time
Emeka
emekamicro at gmail.com
Wed Jul 27 09:14:32 CEST 2011
Hello All,
I am putting together a small game, and I would want to enable my callback
function using time passed.
How to do something like this with Tkinter event.
from time import time
ftime = time()
if ftime - time() > 2000:
dosomething
--
*Satajanus Nig. Ltd
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110727/1b690896/attachment.html>
More information about the Tutor
mailing list