script question
D'Arcy J.M. Cain
darcy at druid.net
Fri Apr 17 11:24:34 EDT 2009
On 17 Apr 2009 07:03:18 -0700
aahz at 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]
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
More information about the Python-list
mailing list