Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 920 Bytes

README.rst

File metadata and controls

48 lines (28 loc) · 920 Bytes

Python Magic Methods

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.

Installation

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

Start the Jupyter Notebook

Run the Jupyter notebook:

jupyter notebook --port 9999

Click the slides toolbar icon to start the RevealJS slides or just step through the notebook.