This is a book (often) about code, so you need to setup your coding environment. Since you already know how to code a little, I assume you know how to use a text editor, change a file and run commands, and have Python 3.6 or later installed.
Get the code
For this part of the book, we have a single folder with all the example code.
Setup a virtual environment
Use your favourite tool, setup a virtualenv and activate it. If you have no idea what I mean, do this:
1$ cd code
2$ python -m venv venv
3$ source venv/bin/activate
After you run the
source command, your prompt will say "venv". That means
you are working in an isolated environment and when you install / uninstall
python packages you are not breaking your system.
To go back to the real world, you can use the
$ pip install -r requirements.txt
Check it worked
1$ python lesson0.py
If it gives an error instead, there is a problem and we have to fix it.
You are now ready to move on to the real work. Have fun!