New: Practice Python, JavaScript & SQL with AI feedback — Try ActiveSkill free →

Setting up Jupyter Notebook

Jupyter Notebook or Jupyter for short is a substitution of the basic Python shell. It is a great way to write and run Python code when you’re doing exploration type of work. Doing data analysis with Python is a typical case when Jupyter would come in very handy. The notebook comes installed with the latest versions of Python. You can start a notebook session by typing this in the command line:

jupyter notebook

That should open a jupyter notebook in your default browser.


If that doesn’t happen, you should probably install the tool first through the command line using pip:

pip install jupyter

To start a new jupyter session, you should go to New -> Python 3(ipykernel). You should see something like this now:


You can now start typing code in jupyter cells and press Ctrl+Enter to execute it. To create new empty cells, use Alt+Enter. You can always go back and edit any cell in the notebook. You will need some rounds of practice until you get the hang of it, but it will eventually pay off.

Practice what you just learned

Solve Python exercises and get instant AI feedback on your solutions.

Try ActiveSkill for Free →
Next Lecture