|
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/a16/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.5.1 is here:–
Windows/python-3.5.1-amd64.exe
The 64-bit versions of numpy 1.11.0 and matplotlib 1.5.1 are here:–
Windows/numpy-1.11.0-cp35-none-win_amd64.whl
Windows/matplotlib-1.4.3.win32-py3.4.exe
The 32-bit versions of Python 3.5.1, numpy 1.11.0, and matplotlib 1.5.1 are here:–
Windows/Windows_32-bit/python-3.5.1.exe
Windows/Windows_32-bit/numpy-1.11.0-cp35-none-win32.whl
Windows/Windows_32-bit/matplotlib-1.5.1-cp35-none-win32.whl
The following text file is intended primarily for experts; it summarizes the contents of the installation directory and provides very brief instructions for Windows:–
The following document is intended for students in courses such as CS-1004; it provides a step-by-step “cookbook” for installing Python, Numpy, and Matplotlib on your own Windows laptop or desktop computer.
Windows/SettingUpPython_Windows.docx and Windows/SettingUpPython_Windows.pdf
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.5.1-macosx10.6.pkg
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.18.0.298892-macosx10.5-i386-x86_64-threaded.dmg
Installation of ActiveTcl requires an Administrative password for your Macintosh.
The numpy 1.11.0 and matplotlib 1.5.1 installers for Mac OS X 32-bit and 64-bit systems are here:–
Both of these must be installed using the “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.