Setting Up Python on Windows


Before you can jump in and write your first Python program, you need to get the language on your computer. But don't worry, because everything required to install Python on Windows 95/98/Me/XP/2000 is on the CD-ROM that is included with this book.

Installing Python on Windows

Okay, go grab the CD-ROM and follow these steps:

  1. Insert the CD-ROM into your computer. The CD-ROM comes with a bunch of goodies, but first and foremost, it has Python on it.

  2. Run the Python Windows Installer. You can find the Python Windows installer, Python-2.2.3.exe, on the CD-ROM, under the Software section. Click on the Install Python 2.2.3 from this CD-ROM link to copy the file to your computer. Then, go ahead and run it. It's a standard installer and works like any other program installation you've done before. Figure 1.2 shows it in action.

    click to expand
    Figure 1.2: Your computer is soon to be home to Python.

  3. Accept the default configuration. Once you're done, you have Python on your computer. Specifically, you have version 2.2.3 in the C:\Python22 folder.

HINT

If you're the kind of person who always has to have the latest and greatest, you can visit the official Python Web site and download the most recent release. Go to http://www.python.org. Under Special Topics, click the link of the latest release that doesn't say "alpha" next to it. That'll take you to the download section for that release. Download the Windows installer. Then follow the preceding installation directions.




Python Programming for the Absolute Beginner
Python Programming for the Absolute Beginner, 3rd Edition
ISBN: 1435455002
EAN: 2147483647
Year: 2003
Pages: 194

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net