Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.

Code of the IPython Cookbook, Second Edition (2018)


This repository contains the Jupyter notebooks of the 100+ recipes of IPython Interactive Computing and Visualization Cookbook, Second Edition (2018), by Cyrille Rossant, Packt Publishing.

This repository is read-only: the source files are on the cookbook-2nd repository.

Running the code in the cloud

With Binder, you can run most of the Jupyter notebooks directly from your web browser without installing anything. Just click on the launch binder button above. A temporary Jupyter Notebook server with all dependencies will be automatically launched in the cloud. It is not persistent: all your changes will be lost after some time.

Running the code on your computer

  1. Install git.

  2. Download and install Anaconda: choose the Python 3.6, 64-bit version for your operating system (macOS, Linux, or Windows).

  3. Open a terminal (cmd on Windows).

  4. Clone the repository:

$ git clone
$ cd cookbook-2nd-code
  1. Create the cookbook conda environment:
conda env create -f environment.yml
  1. Activate the environment:

    • On macOS and Linux:
    source activate cookbook
    • On Windows:
    activate cookbook
  2. Launch the Jupyter Notebook:

$ jupyter notebook