Python
There is extensive Python documentation; you can use it online or click the first link to download the documentation to your own computer. (Please do not download it to your campus account; use the online version instead.)
What to Install
In each case, please check to make sure you download the right package for your machine.
-
Python 2.5.1: the Python programming language.
- Most windows machines: python-2.5.1.msi
- 64-bit windows machines: python-2.5.1.ia64.msi (Win64-Itanium) or python-2.5.1.amd64.msi (Win64-AMD64)
- Mac OS X: python-2.5.1-macosx.dmg
-
Wing 101 IDE: the application we use to edit and run
Python programs.
- Windows: windows installer
-
Mac OS X:
- X11 (install it from 'Optional programs' on your Mac OS X install disc)
- Wing IDE 101 (Power PC) or Wing IDE 101 (Intel)
-
Run Wing and look at the Python Shell: it should say
Python 2.5.1. If it does not, then run Terminal and copy
and paste the following (type your Mac account password
when it prompts you to do so):
cd /usr/bin
sudo -s
rm python
ln -s /Library/Frameworks/Python.framework/Versions/Current/bin/python python
exit
-
nose: this is a set of functions for automatically
testing your own programs.
- Windows:
- Step 1: Install setuptools (install the Python 2.5 version)
- Step 2: Run DOS Command Prompt
-
Step 3: In DOS type:
path=%path%;newdir
(wherenewdir
is replaced with the location of the Python 2.5 scripts, which is probably something like C:\Python25\Scripts) -
Step 4: In DOS Type:
easy_install nose
- Mac OS X:
- Step 1: Install setuptools (install the Python 2.5 version)
- Step 2: Open a terminal window
-
Step 3: type:
easy_install nose
- Windows: