PLEASE NOTE: These instructions are for the first edition of Hello World!, which is no longer available in print. Please visit Hello World! Second Edition for the revised edition.These are downloads for the Hello World! installers and sample code.
Windows Installation Instructions
This method uses an installer made by our friend Sean.
If you don't want to run the installer (for example, if you already have Python or some of the components installed), you can install individual pieces yourself. You need:
Linux Installation Instructions
We have installers for Debian and its children (Ubuntu, etc.) and Fedora. Just download the appropriate file for your version of Linux, unzip it, and run the "install.sh" script.
First, you have to make sure the installer script is executable. So, run this command:
Then, you run the installer script.
Important note: The installer script needs to be run as root. So you can either do this:
The ./ part is explicitly telling the Linux shell that "install.sh" is in the place where you are now. Some people get in the habit of putting ./ in front of local commands.
Macintosh Installation Instructions (First Edition)
PLEASE NOTE: These instructions are for the first edition of Hello World!, which is no longer available in print. Please visit Hello World! Second Edition for the revised edition.
We now have an installer for MacOS X! It has been tested with OSX 10.4 ("Tiger") and 10.5 ("Leopard"). It should be fine on Snow Leopard as well.
You can find it here:
However, it seems the PythonCard Resource Editor is broken for Mac OS X (at least for some people). But there is a fix! Here's how you fix it (after running the above installer):
1. Go to Macintosh HD/Library/Frameworks/Python.framework/Versions/2.5/Lib/python2.5/site-packages/PythonCard
2. Drag the file called "model.py" to the Trash.
3. Download and unzip this file: model.py.zip . Drag model.py (that you just unzipped) into the PythonCard folder.
4. In the PythonCard folder, go to tools/resourceEditor/.
5. Control-click the file called resourceEditor.py and choose Make Alias.
6. Rename the alias to "Resource Editor" (without the quotes)
7. Drag the alias to somewhere you'll be able to find it later.
8. When you're going through the book and you need to open Resource Editor, double-click the alias to open it in IDLE, then choose Run->Run Module in the menu
Thanks to the folks at tjleone.com for that fix.
If you have trouble, please send us an email with your questions.