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
-
Download and install Anaconda: choose the Python 3.6, 64-bit version for your operating system (macOS, Linux, or Windows).
-
Open a terminal (
cmd
on Windows). -
Clone the repository:
$ git clone https://github.com/ipython-books/cookbook-2nd-code.git
$ cd cookbook-2nd-code
- Create the
cookbook
conda environment:
conda env create -f environment.yml
-
Activate the environment:
- On macOS and Linux:
source activate cookbook
- On Windows:
activate cookbook
-
Launch the Jupyter Notebook:
$ jupyter notebook