"D'Arcy J.M. Cain" <da...@druid.net> writes: > On 17 Apr 2009 07:03:18 -0700 > a...@pythoncraft.com (Aahz) wrote: >> Go to all that trouble, you might as well make it easier: >> >> for func in funclist: >> func() > > And if you need the return values: > > retlist = [func() for func in funclist]
And if you don't want to be Python 3 compliant: retlist = map(apply, funclist) -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list