![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveQuestion about basic use of a timer object from timeit module to execute code every so often in a class
From: <42zeros@gmail.com>
Date: Fri Jul 15 2005 - 13:27:45 CEST
I would like a function to be executed every x often.
thanks in advance,
class MyApp(wx.App):
frame = wxMainFrame(None, "thing")
t = timeit.Timer("checkMail()","30.0")
t.timeit()
def checkMail():
|