When I try to print Link.votes
I get <property object at 0x1027b4f18>
returned when I was expecting the value for "votes" (100 in the example below). Can someone please let me know what I'm doing wrong?
from collections import namedtuple
Link = namedtuple('Link', ['id', 'country_id', 'date', 'votes', 'url'])
Link(0, "US", 111105, 100,"http://www.google.com")
print Link.votes