utahpython / python-magic-methods

Material for Python Magic Methods talk Openwest 2016 SLC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Material for Python Magic Methods talk Openwest 2016 SLC.

License:MIT License


Languages

Language:Jupyter Notebook 76.4%Language:Python 23.6%