I create a list filled with named tuples:
from collections import namedtuple
Point = namedtuple('Point', 'x y')
a = Point(5,4)
b = Point(8,3)
tab = [a,b]
print tab
>>[Point(x=5, y=4), Point(x=8, y=3)]
I would like to have the max of the x values in the list 'tab'
max(tab.x)
>> 8