from operator import itemgetter
nested_list = [[1, 2, 3], [10, 20, 30], [100, 200, 300]]
map(itemgetter(1), nested_list)
[2, 20, 200]
Found it here: http://www.gossamer-threads.com/lists/python/python/770606
from operator import itemgetter
nested_list = [[1, 2, 3], [10, 20, 30], [100, 200, 300]]
map(itemgetter(1), nested_list)
[2, 20, 200]
Found it here: http://www.gossamer-threads.com/lists/python/python/770606