The following documents and resources are useful for CS-1004 this term:
The graphics package described in Chapter 4 of the textbook can be downloaded from http://web.cs.wpi.edu/~cs1004/c15/Resources/graphics.py. This is the same package made available by the author at his web site, described on p. 479.
The installation guide can be found at the following links in .docx format and .pdf format. It expands on the installation instructions provided in Appendix B of the textbook, Python Programming: An Introduction to Computer Science, 2nd edition, by John Zelle.
It is a good idea to print out the installation guide, because just when you need it most, a key instruction is likely to be obscured by a window or dialog box of one of the installers.
The 64-bit version of Python 3.4 is here:
Windows/python-3.4.2.amd64.msi
The 64-bit versions of numpy 1.9.1 and matplotlib 1.4.2 installers are here:
Windows/numpy-MKL-1.9.1.win-amd64-py3.4.exe
Windows/matplotlib-1.4.2.win-amd64-py3.4.exe
In order to run matplotlib, you also need to install the following supporting packages, even though you may not ever use any of their features:
Windows/python_dateutil-2.4.0-py2.py3-none-any.whl
Windows/pyparsing-2.0.3-py2.py3-none-any.whl
Files with the .whl extension (called wheel in Python jargon) need to be installed from a Windows Command Prompt. See the Installation Guide for detailed instructions on how to do this.
The following text file summarizes the contents of the installation directory for Windows:
The Macintosh and Linux installation guide can be found at the following links in .docx format and .pdf format. It expands on the installation instructions provided in Appendix B of the textbook, Python Programming: An Introduction to Computer Science, 2nd edition, by John Zelle.
It is a good idea to print out the installation guide, because just when you need it most, a key instruction is likely to be obscured by a windows or dialog box of one of the installers.
The following installer supports both 32- and 64-bit Macintosh computers:
Macintosh/python-3.4.1-macosx10.6.dmg
You also need to update ActiveTcl (which is already part of Mac OS X) to be compatible with Python 3.4.1:
Macintosh/ActiveTcl8.5.15.1.297588-macosx10.5-i386-x86_64-threaded.dmg
The numpy 1.8.1 and matplotlib 1.3.1 installers for Mac OS X 32-bit and 64-bit systems are here:
Macintosh/matplotlib-1.4.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl
Both of these must be installed using the sudo pip3 install command from a command Terminal. They will automatically download and install supporting packages as necessary.
The following text file summarizes the contents of the installation directory for Mac OS X:
No separate installers are provided for Python, numpy, and matplotlib. Instead, these should all be downloaded by and installed using the software distribution tool with your Linux desktop distribution. The installation guide uses Ubuntu 14.04 as a Linux example; this should serve as a pattern for other Linux systems.