Setting up your environment
In this chapter, we will mostly work locally in an IDE; I would like to help walk you through setting that environment up.
Python
You have several options for installing Python. Some directions are the following:
- https://github.com/pyenv/pyenv or https://github.com/pyenv-win/pyenv-win for Windows
- Using the system Python tool
Type the following:
python --version
You will be presented with a version of Python 3.5 or above, ideally.
venv
We can install and set up our virtual environment using the following:
python3 -m pip install virtualenv python3 -m venv chapter2 chapter2\Scripts\activate pip install <package> deactivate
Graphviz
Graphviz is a very common and widely used graphic drawing tool. Its commonly used to create programmatically generated charts and diagrams.
Installations are available for every major OS here: https://graphviz.org/.
Workflow initialization
For this chapter, all Python code...