forked from HampshireCS/CS112-Spring2012
-
Notifications
You must be signed in to change notification settings - Fork 0
Instructions install windows
jrabbit edited this page Apr 23, 2012
·
4 revisions
- install Python 2.7.2 (not 64 bit, the first windows installer) http://python.org/download/
- install pygame-1.9.2a0.win32-py2.7.msi http://pygame.org/download.shtml
Although you can get python working with the windows command line, the windows command line is pretty horrible (has a hard time pasting.) Instead, we will just be using IDLE.
- Edit a file - right click on the python file and select "Edit with IDLE"
- Run a file - open in IDLE, then select Run -> Run (or press F5)
- Open a Shell - open IDLE and select Run -> Run Shell
- Sacrifice a goat.
curl http://python-distribute.org/distribute_setup.py | pythoncurl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python- Edit your
~/.bashrcand add the lineexport PATH="/c/Python27/Scripts/:$PATH" - Install what you need using
pip install <PACKAGE>eg:pip install BeautifulSoup