Setting up and running Python code examples

In this section I will show you how to set up a Python virtual environment for the Python code examples in the book, set up a checkout, and run simple examples. We will be working with Python 3.4+, so if you have Python 2 installed on your system, for some of the commands, you may need to type python3 to call the correct version of Python in the commands to be followed.