Session 8: Properties and Magic methods

More OO: Properties and Magic methods.

Readings

Supplemental Readings

About Python’s “magic methods”:

https://www.python-course.eu/python3_magic_methods.php

http://minhhh.github.io/posts/a-guide-to-pythons-magic-methods

A Good Book (dead trees version only):

Python 3 Object Oriented Programming: Dusty Phillips

(Dusty is a local boy and co-founder of PuPPy)

Exercises:

Optional Exercise:

This one is challenging – if you have got html_render and circle class done, then by all means – it’s a great exercise. but if you are still struggling with html_render – get that done first.