Skip to content

utahpython/python-magic-methods

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 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

Languages

  • Jupyter Notebook 76.4%
  • Python 23.6%