Skip to content

Code of the IPython Cookbook, Second Edition, by Cyrille Rossant, Packt Publishing 2018 [read-only repository]

License

Notifications You must be signed in to change notification settings

ipython-books/cookbook-2nd-code

Repository files navigation

Code of the IPython Cookbook, Second Edition (2018)

Binder

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 https://github.com/ipython-books/cookbook-2nd-code.git
$ 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