Appendix B. Setting up a Jupyter Notebook environment

 

If you're just starting with Python Jupyter notebooks, think of it as an interactive space where you can type and run code, see the results, and tweak the code to get the outcomes you want in real-time. The code snippets I'll be sharing aren't exclusive to a particular Python version, but for the smoothest experience, it's suggested to run them on Python 3.11 or a newer version if you can.

Installing the Python interpreter or a Python distribution

If you haven't actively used Python lately, I suggest installing the latest version of the Python 3 interpreter. You have a few options:

Creating a virtual environment with venv and upgrading pip

Setting up a Jupyter notebook