You are here: Home Dive Into Python 3

Difficulty level: ♦♢♢♢♢

Installing Python

Tempora mutantur nos et mutamur in illis. (Times change, and we change with them.)
— ancient Roman proverb

 

Diving in

Welcome to Python 3. Let's dive in. In this chapter, you'll install the version of Python 3 that's right for you.

Which Python Is Right For You?

The first thing you need to do with Python is install it. Or do you?

If you're using an account on a hosted server, your ISP may have already installed Python 3. Most popular GNU/Linux distributions come with Python 2 in the default installation; a small but growing number of distributions also include Python 3. (As you’ll see in this chapter, you can have more than one version of Python installed on your computer.) Mac OS X includes a command-line version of Python 2, although you'll probably want to install a version that includes a more Mac-like graphical interface.

Windows does not come with any version of Python, but don’t despair! There are several ways to point-and-click your way to Python on Windows.

What's more, Python programs written on one platform can run on any supported platform. For instance, I regularly develop Python programs on Windows and later deploy them on Linux.

So back to the question that started this section, “Which Python is right for you?” The answer is whichever one runs on the computer you already have.

Installing on Microsoft Windows

FIXME

[Windows dialog: open file security warning]

[Python installer: select whether to install Python 3.1 for all users of this computer]

[Python installer: select destination directory]

[Python installer: customize Python 3.1]

[Python installer: disk space requirements]

[Python installer: removing Test Suite option will save 7908KB on your hard drive]

[Python installer: progress meter]

[Python installer: installation completed. Special Windows thanks to Mark Hammond, without whose years of freely shared Windows expertise, Python for Windows would still be Python for DOS.]

[Windows Python Shell, a graphical interactive shell for Python]

Installing on Mac OS X

FIXME

[contents of Python installer disk image]

[Python installer: welcome screen]

[Python installer: information about supported architectures, disk space, and acceptable destination folders]

[Python installer: software license agreement]

[Python installer: dialog to accept license agreement]

[Python installer: standard install screen]

[Python installer: custom install screen]

[Python installer: dialog to enter administrative password]

[Python installer: progress meter]

[Python installer: install succeeded]

[contents of /Applications/Python 3.1/ folder]

[Mac Python Shell, a graphical interactive shell for Python]

[Python Launcher preferences window]

Installing on Ubuntu Linux

FIXME

[Add/Remove: Canonical-maintained applications]

[Add/Remove: all open source applications]

[Add/Remove: search for Python 3]

[Add/Remove: select Python 3.0 package]

[Add/Remove: select IDLE for Python 3.0 package]

[Add/Remove: apply changes]

[Add/Remove: download progress meter]

[Add/Remove: installation progress meter]

[Add/Remove: new applications have been installed]

[Linux Python Shell, a graphical interactive shell for Python]

Installing on Other Platforms

FIXME

Python Editors and IDEs

FIXME

http://wiki.python.org/moin/PythonEditors
http://wiki.python.org/moin/IntegratedDevelopmentEnvironments
http://pydev.sourceforge.net/
http://www.activestate.com/komodo/
http://www.activestate.com/activepython/

© 2001–9 Mark Pilgrim