New interesting data structures in Python 3
Python 3’s uptake is dramatically on the rise rise these days, and I think therefore that it is a good time to take a look at some data structures that Python 3 offers, but that are not available in Python 2. We will take a look at typing.NamedTuple, types.MappingProxyType and types.SimpleNamespace, all of which are new to Python 3. typing.NamedTuple typing.NamedTuple is a supercharged version of the venerable collections.namedtuple and while it was added in Python 3....