I have created a Python FunctionScheduler -- For example if you want to execute a function after 8 second then you can do it using FunctionScheduler, as given in the example, Also, you can pause or unpause the Timer, This was not possible in code around Internet. I needed a function Scheduler so I wrote one,, If you know any better implementation then let me know,
https://gist.github.com/911942 I need your input in this class, def hello(): print "hello, world" myfunc = FunctionScheduler(8.0, hello) myfunc.Start() print myfunc.TimeLeft() time.sleep(1) print myfunc.TimeLeft() myfunc.Pause() myfunc.UnPause() -- LUG@IITD - http://lug-iitd.org/Footer
