Slides and code for talk on Python's magic methods.
The demo code is developed for Python 3.
RISE is the Reveal.js Jupyter slideshow extension.
Clone the repository:
git clone https://github.com/eigenholser/python-magic-methods.git
Change directory into the project:
cd python-magic-methods
Create a virtual environment:
mkvirtualenv python-magic-methods setvirtualenvproject
Install Python dependencies:
pip install -r requirements.txt
Install RISE:
git clone https://github.com/damianavila/RISE.git python RISE/setup.py install
Run the Jupyter notebook:
jupyter notebook --port 9999
Click the slides toolbar icon to start the RevealJS slides or just step through the notebook.