We are going to use Jupyter notebooks to write our Python code. So, we need to install the jupyter package first from a Python prompt with >>> pip install jupyter, and then launch the Jupyter Notebook app in the browser using >>> jupyter notebook. From there, we can create new Python notebooks and choose a kernel. If we use Anaconda, we do not need to install Jupyter explicitly; the latest Anaconda distribution comes with Jupyter.
We can even install a Python package from inside a notebook cell; for example, we can install scipy with the !pip install scipy command.