how to call a function for evry 10 secs
Max Countryman
maxc at me.com
Wed Jun 29 14:07:08 EDT 2011
Yeah it won't work. Recursion depth will be reached. Steven's suggestion is much better.
--
Max Countryman
+1-917-971-8472
On Wednesday, June 29, 2011 at 2:05 PM, santosh h s wrote:
> how to end ths over a period of time
>
> On Wed, Jun 29, 2011 at 11:25 PM, Max Countryman <maxc at me.com (mailto:maxc at me.com)> wrote:
> > How about this?
> >
> > import time
> >
> > def func():
> > #do stuff
> > time.sleep(10)
> > return func()
> >
> >
> > On Wednesday, June 29, 2011 at 1:39 PM, hisan wrote:
> >
> > > Hi All,
> > > I need to call a function for evry 10 secs
> > > how can i achieve this in python
> > > --
> > > http://mail.python.org/mailman/listinfo/python-list
> >
>
>
>
> --
> Regards,
> Santosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110629/e32185a3/attachment-0001.html>
More information about the Python-list
mailing list