diff --git a/installing-python.html b/installing-python.html index 5a9ca6d..a00c78c 100644 --- a/installing-python.html +++ b/installing-python.html @@ -8,7 +8,7 @@ body{counter-reset:h1 0} .i{list-style:none;margin:0;padding:0} #which{padding-top:1.75em} -h2,.i li{clear:both} +h2,.i>li{clear:both} .i li .ss{float:right;margin:0 0 1.75em 1.75em} @@ -43,7 +43,7 @@ h2,.i li{clear:both} Type "help", "copyright", "credits" or "license" for more information. >>> -
(Type exit and press ENTER to exit the Python interactive shell.) +
(Type exit() and press ENTER to exit the Python interactive shell.)
My web hosting provider also runs Linux and provides command-line access, but my server does not have Python 3 installed. (Boo!) @@ -53,6 +53,8 @@ Type "help", "copyright", "credits" or "license" for more information.
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. +
[Read on for Windows instructions, or skip to Installing on Mac OS X, Installing on Ubuntu Linux, or Installing on Other Platforms.] +
⁂
+
Next, the installer will prompt you to choose a destination directory. The default for all versions of Python 3.1.x is C:\Python31\, which should work well for most users unless you have a specific reason to change it. If you maintain a separate drive letter for installing applications, you can browse to it using the embedded crontrols, or simply type the pathname in the box below. You are not limited to installing Python on the C: drive; you can install it on any drive, in any folder.
+
Click the Next button to accept your choice of destination directory.
+
The next page looks complicated, but it’s not really. Like many installers, you have the option not to install every single component of Python 3. If disk space is especially tight, you can exclude certain components. +
.py files) and run them. Recommended but not required. (This option doesn’t require any disk space, so there is little point in excluding it.)
+docs.python.org. Recommended if you are on dialup or have limited Internet access.
+2to3.py script which you’ll learn about later in this book. Required if you want to learn about migrating existing Python 2 code to Python 3. If you have no existing Python 2 code, you can skip this option.
+
+
If you’re unsure how much disk space you have, click the Disk Usage button. The installer will list your drive letters, compute how much space is available on each drive, and calculate how much would be left after installation.
+
Click the OK button to return to the “Customizing Python*#8221; page.
+
If you decide to exclude an option, select the drop-down button before the option and select “Entire feature will be unavailable.” For example, excluding the test suite will save you a whopping 7908KB of disk space. +
Click the Next button to accept your choice of options.
+
The installer will copy all the necessary files to your chosen destination directory. (This happens so quickly, I had to try it three times to even get a screenshot of it!)
+
Click the Finish button to exit the installer.
+
In your Start menu, there should be a new item called Python 3.1. Within that, there is a program called IDLE. Select this item to run the interactive Python Shell.
+
[Skip to using the Python Shell] +
⁂
[Skip to using the Python Shell] +
⁂
[Skip to using the Python Shell] +
⁂
⁂ +
FIXME + +
⁂ +
FIXME