On 17 Apr 2009 07:03:18 -0700, Aahz <[email protected]> wrote: > In article <[email protected]>, Piet van Oostrum wrote: >> >>funclist = [func01, func02, func03, ... ] >>for i in range(1,n): >> funclist[i]() > > Go to all that trouble, you might as well make it easier: > > for func in funclist: > func()
Yes. Especially because func01 gets called, this way. -- To email me, substitute nowhere->spamcop, invalid->net. -- http://mail.python.org/mailman/listinfo/python-list
