banner



How To Open Jupyter Notebook In Chrome On Windows

Opening a Jupyter Notebook

Opening a Jupyter Notebook

In this section, you volition learn how to open a Jupyter notebook on Windows and MacOS.

1 manner problem solvers tin write and execute Python code is in Jupyter notebooks. Jupyter notebooks contain Python lawmaking, the output that code produces and markdown cells ordinarily used to explain what the code means.

On Windows, a Jupyter notebook tin exist started from the Anaconda Prompt, the Windows get-go card and Anaconda Navigator.

3 ways to open a Jupyter notebook:

  • Windows Starting time Menu

  • Anaconda Prompt

  • Anaconda Navigator

One way to open up a Jupyter notebook is to use the Windows Start Card. Notation that the Anaconda distribution of Python must exist installed to utilize the Windows Outset Menu to open a Jupyter notebook. Download Anaconda at the following link: Anaconda.com/distribution

Open the Windows beginning menu and select [Anaconda3(64 bit)] --> [Jupyter Notebook]

Windows 10 Start Menu showing the Jupyter Notebook application

This action opens the Jupyter file browser in a web browser tab.

In the upper correct select [New] --> [Python three]

Jupyter notebook file browser. Note a new Python 3 notebook is selected

A new notebook will open as a new tab in your spider web browser.

A newly opened Jupyter notebook

Try typing the code below in the first cell in the notebook to the right of the In [ ]: prompt:

                import this                              

Then click the run button in the center of the carte du jour at the top of the notebook.

A Jupyter notebook running "import this". Note the run button is selected

Open a Jupyter Notebook with the Anaconda Prompt

Another method to open up a Jupyter notebook is to utilise the Anaconda Prompt.

Go to the Windows outset carte du jour and select [Anaconda Prompt] under [Anaconda3].

Windows 10 Start Menu showing the Anaconda Prompt application

If you don't run across the Anaconda Prompt in the Windows Start Menu, then you demand to install the Anaconda distribution of Python. Download Anaconda at the following link: Anaconda.com/distribution

The Anaconda Prompt window should wait something similar the prototype below.

The Anaconda Prompt. Note the command jupyter noteooks is entered

At the Anaconda Prompt blazon:

                > jupyter notebook                              

This command starts the Jupyter notebook server. The output in the Anaconda Prompt volition look something similar the output shown beneath:

                                  Re-create/paste this URL into your browser when you lot connect ...      to login with a token:          http://localhost:8888/?token=6bdef677d3503fbb2 ...  [I sixteen:14:12.661 NotebookApp] Accepting ane-time-token ...                              

A web browser should open, and you should be able to see the Jupyter file browser. If a spider web browser doesn't open automatically, you can copy the web address from the Anaconda Prompt and paste it into a web browser'due south address bar.

Jupyter notebook file browser: create new Python 3 notebook

In the upper right select [New] --> [Python iii]

You will see a new tab open up in your web browser. This web browser page is a Jupyter notebook.

A newly opened Jupyter notebook

Open up a Jupyter Notebook with Anaconda Navigator

One boosted way to open up a Jupyter notebook is to use Anaconda Navigator. Anaconda Navigator comes with the Anaconda distribution of Python. Open Anaconda Navigator using the Windows offset menu and select [Anaconda3(64-fleck)] --> [Anaconda Navigator].

Windows 10 Start Menu showing the Anaconda Navigator application

An Anaconda Navigator window will open. In the center of the folio, in the Jupyter notebook tile, click [Launch]

Anaconda Navigator- showing how to launch a new Jupyter notebook

A Jupyter file browser will open in a web browser tab.

In the upper right select [New] --> [Python 3]

Jupyter notebook file browser - create new Python 3 notebook

A new notebook volition open as a new tab in your spider web browser.

A newly opened Jupyter notebook showing a blank code cell

Source: https://problemsolvingwithpython.com/02-Jupyter-Notebooks/02.04-Opening-a-Jupyter-Notebook/

Posted by: shanerattle1974.blogspot.com

0 Response to "How To Open Jupyter Notebook In Chrome On Windows"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel