12.07.2015 Views

Is Python a

Is Python a

Is Python a

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix AAPPENDIX AInstallation and Configuration1This appendix provides additional installation and configuration details as a resourcefor people new to such topics.Installing the <strong>Python</strong> InterpreterBecause you need the <strong>Python</strong> interpreter to run <strong>Python</strong> scripts, the first step in using<strong>Python</strong> is usually installing <strong>Python</strong>. Unless one is already available on your machine,you’ll need to fetch, install, and possibly configure a recent version of <strong>Python</strong> onyour computer. You’ll only need to do this once per machine, and, if you will be runninga frozen binary (described in Chapter 2), you may not need to do it at all.<strong>Is</strong> <strong>Python</strong> Already Present?Before you do anything else, check whether you already have a recent <strong>Python</strong> onyour machine. If you are working on Linux, Mac OS X, and some Unix systems,<strong>Python</strong> is probably already installed on your computer. Type python at a shellprompt (sometimes called a terminal window), and see what happens. Alternatively,try searching for “python” in the usual places—/usr/bin, /usr/local/bin, etc.On Windows, check whether there is a <strong>Python</strong> entry in the Start button’s All Programsmenu (at the bottom left of the screen). If you find a <strong>Python</strong>, make sure it’sversion 2.5 or later; although any recent <strong>Python</strong> will do for most of this text, you’llneed at least version 2.5 to run some of the examples in this edition.Where to Fetch <strong>Python</strong>If there is no <strong>Python</strong> to be found, you will need to install one yourself. The goodnews is that <strong>Python</strong> is an open source system that is freely available on the Web, andvery easy to install on most platforms.639

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!