SyntaxFix
Write A Post
Hire A Developer
Questions
Starting in Python 2.6 there is a operator.methodcaller function.
So you can get something more elegant (and fast):
from operator import methodcaller map(methodcaller('method_name'), list_of_objects)