Enriching Your Python Classes With Dunder (Magic, Special) Methods – dbader.org What Python’s “magic methods” are and how you would use them to make a simple account class more Pythonic.