What you need for this book
All you need to follow through the examples in this book is a computer running any Python, version 3.12 or newer. Many of the examples can be adapted to work with Python 3 versions prior to 3.12. Material in Chapter 10 describes the match statement, introduced with Python 3.10.
We strongly encourage installing a fresh copy of Python, avoiding any pre-installed operating system Python. The language run-time can be downloaded from https://www.python.org/downloads/. An alternative is to start with the Miniconda tool ( https://docs.conda.io/en/latest/miniconda.html) and use conda to create a Python 3.12 (or newer) environment.
Python 2 cannot be used anymore. Since 2020, Python 2 is no longer an alternative.