Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.05 KB

lesson08.rst

File metadata and controls

51 lines (31 loc) · 1.05 KB

Session 8: Properties and Magic methods

More OO: Properties and Magic methods.

Readings

.. toctree::
    :maxdepth: 1

    ../modules/Properties
    ../modules/StaticAndClassMethods
    ../modules/SpecialMethodsAndProtocols

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:

.. toctree::
    :maxdepth: 1

    ../exercises/circle/circle_class.rst

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.

.. toctree::
    :maxdepth: 1

    ../exercises/sparse_array.rst