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 <m...@me.com 
> (mailto:m...@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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to