Properties as Pythonic setters
Posted by Simon Larsén in Programming
This is the second part in a two part series on Python properties. In Part 1 (which readers will be assumed to have at least skimmed through), we saw how a property can be used to create a read-only attribute that can be accessed like any data attribute (i.e …