This repository contains code used during my Object-oriented Python workshop.
You need Jupyter to run the notebooks. To install it see the instructions here.
For Linux and Mac systems you just have to create a virtual environment and install the requirements
pip install -r requirements.txt
After this you should be able to run jupyter notebook
and the Jupyter interface will open in your browser.
If you are not following the workshop you can find a series of posts that discuss the same topics on my blog
The workshop is divided into the following sections
- Intro and discussion about OOP
- Objects
- Classes
- Instances
- Delegation
- Polymorphism
Each of the sections 2-6 has one companion notebook with exercises and one with the solutions. I highly recommed that you try to solve the exercises before looking at the solutions. No effort, no results! =)