Python Crash Course
)}

Jupyter Notebooks

Most of the code we're going to write for this course will be done on a Python notebook.

We will be making use of Jupyter Notebook which is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text.

Jupyter was already installed for us when we installed the Anaconda distribution.

If you're on a Mac, go to your terminal. Otherwise, if you're using windows make sure to navigate to your anaconda prompt as I showed you in the installation section. Write the command:

jupyter notebook

By pressing enter, it should open up the application based on your default browser. It should look something like this:

we are going to click on desktop:

Inside desktop we will be creating a new Python3 Notebook:

Your screen should now look something like this:

You can rename your notebook to whatever you like by pressing the Untitled title on top.

Testing our Jupyter environment

We're going to output some random code to test our notebook. We're going to be running code in the notebook cells:

input the following code into the first cell:

print(1+1)

Now to run this code, click on the run button in the toolbar:

or you can choose to press SHIFT + ENTER on your keyboard.

your output should then be:

>> 2

this simple arithmetic execution proves that python and jupyter notebooks have been installed and configured correctly. You are now ready to move on to the next section.‍

Feedback Summary
4.8
8 students
5

75%
4

25%
3

0%
2

0%
1

0%
Written Reviews
There are no written reviews yet.