Informatics.indiana.edu



Courtesy of Prof. Larry Yaeger’s courseMac users?running Leopard (10.5.x) or later already have a version of Python installed that is good enough, but installing the main development tool (IDLE) and the modules you will need for your assignments can be a bit challenging, especially on Snow Leopard (10.6.x), so the following is recommended:Download and install the free?academic version of the?Enthought Canopy?Python Distribution.??(Be sure to choose the Mac version; the standard 32-bit version is sufficient.)Download and install?this recompiled version of?PyGame.?If it doesn’t work, then try this version.Other relevant packages like numpy, networkx, matplotlib etc are available in the Enthought repository, which you can install later.Should you prefer to work with the built-in version of Python for some reason, you can install?IDLE.app?by following the instructions at??(or you can invoke IDLE from the command line or you can use a different editor).??You will be on your own installing?PyGame, as the version available above will probably not work.??Windows users?should install the latest 2.x "standard" (aka "production") release of Python from?.??(Do not install a 3.x release, as important syntax changes have taken place in the language that?make?it incompatible with the textbook examples.)??Alternatively, you may also wish to download and install the free?academic version of the?Enthought Canopy Python Distribution.?You will need to install a recent release of?Pygame?appropriate to your operating system from?. Other relevant packages like numpy, networkx, matplotlib etc are available in the Enthought repository for later install.?Linux users:??Most modern Linux releases probably already have Python and IDLE. For those that do not have at least Python 2.5.1 installed, go to? download and install a recent 2.x version of Python.??You will also need to install?PyGame (See section ‘Unix Distributions’ in the linked site).General note: If you have more than one version of Python, and library installations (pygame, numpy etc.) seem to prefer the version that you don’t prefer, simply copying the library folder into the desired Python version might work. The exact location of the libraries depends on the OS of course. ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download