I need to do something that is functionally equivalent to this:
for foo in foos: bar = foo.get_bar() # Do something with bar
My first i
You want operator.methodcaller(). Or, of course, a list or generator comprehension.