Chapter 4: Jupyter Notebook

Launching a Jupyter Notebook

face Josiah Wang

On your terminal, navigate to the directory in which you want to work. This will be Jupyter Notebook’s start-up directory.

To launch Jupyter Notebook, type jupyter notebook into the terminal.

The application will open in the web browser at the following address: http://localhost:8888 . If this does not happen, then browse through the messages in your terminal to find something that looks like this:

    Or copy and paste one of these URLs:
        http://localhost:8888/?token=a1g45758f7347c6aa179d56128ae95ea1fdabd148b657d2d
     or http://127.0.0.1:8888/?token=a1g45758f7347c6aa179d56128ae95ea1fdabd148b657d2d

Do what it says!

The web application should show you the files in the directory where you started Jupyter Notebook. Click on New to create a new Jupyter notebook.

Jupyter Notebook

This will create a new Notebook in your current directory.

Once you have created a notebook, you can rename it, save it, add and delete and move cells, run the cells, etc., from the menubar or toolbar. To save your notebook, you can also press Ctrl+S.