before we begin the second group wants to be able to find specific solutions to specific problems for those readerseach design pattern starts with description of the problem addressed by the pattern in question this should help you decide if the pattern will be helpful in solving the problem you are faced with the last group wants to use this book to master their craft for these readersi suggest you begin at the beginning and code your way through the book type out every example tinker with every solution do all the exercises see what happens when you alter the code what breaksand whymake the solutions better tackle one pattern at time and master it thenfind other real-world contexts where you can apply your new knowledge setting up your python environment let' begin by getting working python environment running on your machine in this sectionwe will look at installing python on linuxmacand windows on linux the commands we use are for ubuntu with the apt package manager for other distributions that do not work with aptyou can look at the process for installing python and pip using an alternative package managerlike yumor installing the relevant packages from source the whole installation process will make use of the terminalso you can go ahead and open it up now let' begin by checking if you have version of python already installed on your system just notefor the duration of this booki will indicate terminal commands with the leading $you do not type this character or the subsequent space when entering the comment in your terminal python --version if you have python (as is the case with ubuntu and upalready installedyou can skip ahead to the section on installing pip if you have either python or no python installed on your systemyou can go ahead and install python using the following commandsudo apt-get install python -dev