On Mon, Apr 20, 2009 at 8:48 AM, Matt <hellzfury+pyt...@gmail.com<hellzfury%2bpyt...@gmail.com> > wrote:
> Hey everyone, > > First post to this list. I hope I'm doing it right. > > Let's say I want to run func 10 times Is there a more pythonic way to do it > than this: > for i in xrange(10): > func() AFAIK that's the most pythonic way to do it... and probably how I'd do it... if I had a function I needed to run 10 times :P -Wayne
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor