>
>  > Hi All,
> > I need to call a function for evry 10 secs
> > how can i achieve this in python
>
>
> import time
> while True:
>    time.sleep(10)
>    function()
>


Please don't reinvent the wheel...
Use the python apscheduler module.
http://packages.python.org/APScheduler/#installing-apscheduler


Thanks and Regards,
==============================================
Anand Jeyahar
https://sites.google.com/site/<
https://sites.google.com/site/aangjie/home/quotes>
anandjeyahar
==============================================
The man who is really serious,
with the urge to find out what truth is,
has no style at all. He lives only in what is.
                 ~Bruce Lee

Love is a trade with lousy accounting policies.
                ~Aang Jie<https://sites.google.com/site/aangjie/home/quotes>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to