Skip to content

Configuring Jupyter Notebook

jupyter notebook

Jupyter Notebook is a server-client application that allows us to run and edit a program in a web browser.

Install Jupyter Notebook in windows

To install Jupyter Notebook we need to open PowerShell or Command prompt in windows and type “pip install notebook” and press Enter key. 

How to open a .ipynb file in Jupyter Notebook

Here is a file called “Untitled.ipynb” in the “Python tutorial” folder of my computer’s D drive. We will see how to open the “Untitled.ipynb” file in Jupyter Notebook. 

First we will press Shift and Right Click together in the folder. Then click on the “Open PowerShell window here” option in the pop-up that will appear. This will open the PowerShell window in that folder.

In the PowerShell window , type “jupyter notebook” and press Enter key.

As a result, Jupyter Notebook will automatically open in our default browser.

Then we have to click on the file name. Once we click on the file, the file will open in a new tab.

Note :

It is important to remember that since we opened Jupyter Notebook with PoweShell, we can never turn off PowerShell while Jupyter Notebook is running. If we turn off PowerShell while Jupyter Notebook is running, we will not be able to do any work on Jupyter Notebook.

How to create a new file in Jupyter Notebook

Here we will see how to create a new .ipynb file in Jupyter Notebook. To create a new file, first click on “New” then click on “Python 3 (ipykernel)” option.

As soon as we click on that option, a new file Untitled.ipynb will be created. Later we have to rename the file. Since I already had a file named Untitled.ipynb in my folder, a new file named Untitled1.ipynb has been created in my case.

We will also see the newly created file on the Home screen of Jupyter Notebook.

Thank you for reading this Article . If You enjoy it Please Share the article . If you want to say something Please Comment .

Leave a Reply