Skip to content

eigenholser/python-magic-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published