Installing Python
Actually, it is a bit harder than I originally said, since you also need to install the turtle and grpahics libraries that go with the book. So, following are the more complete (and correct) instructions:
First go to the Download Python site and get the version of Python for your particular computer operating system. Be sure, however, to get Python 3, not Python 2. Currently, the version you would get is Python 3.1.2.
Save the following two files in some convenient location on your computer:
cTurtle.pyandcImage.py.-
Now move these two files to the appropriate folder for your operating system:
- On the Mac: in
/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-packages - In Windows: in
C:\Python31\Lib\site-packages
- On the Mac: in
Test this out by running Python and trying to load the Turtle library by typing import cTurtle at the command prompt.
If you have questions, ask one of the instructors.