APPENDIX A

Installing Python

THE Python programs in this book require Python version 3.4 or later, and two additional modules: numpy and matplotlib. Generally speaking, you have two options for installing this software on your computer.

A.1 AN INTEGRATED DISTRIBUTION

The easiest approach is to install an integrated distribution that includes Python and the additional modules that we use. At the time of this writing, we know of only one such distribution that includes Python 3. The Anaconda distribution from Continuum Analytics is freely available from

          https://store.continuum.io/cshop/anaconda/

Be sure to install the version that includes Python 3.4 or later (not Python 2.7).

A.2 MANUAL INSTALLATION

Your second option is to download ...

Get Discovering Computer Science now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.