Python comes with a specialized “namedtuple” container type that doesn’t seem to get the attention it deserves. It’s one of these amazing features in Python that’s hidden in plain sight. Namedtuples can be a great alternative to defining a class manually and they have some other interesting features that I want to introduce you to in this article. Now, what’s a namedtuple and what makes it so spec
