How to Install Python for Windows

How to Install Python for Windows thumbnail
Python is an object-oriented programming language.

Python is an object-oriented computer programming language used by many programmers for software development. Python code is easy to maintain and relatively simple to learn. Before you can begin programming in Python on your Windows computer, you will need to install the Python interpreter.

Things You'll Need

  • Windows PC
  • Internet access
Show More

Instructions

  1. Choose a Python Installation

    • 1

      Identify the version of Windows running on your PC. You’ll need to know whether you are running Windows 95, 98, NT, 2000, ME, XP, Vista or Windows 7.

    • 2

      Decide whether you will need the Python source code. Installing the source is optional. Python is open source software, which means the code is readily available to programmers to modify or distribute as they wish.

    • 3

      Browse to the Python.org website. All official distributions of Python can be found here, including a Windows .msi installer.

    • 4

      Click on the "Download" link. A list of files appears. Each file is a distribution of Python for a specific platform.

    • 5

      Find the installer for your platform. Numerous versions of Python are available for Windows environments. If you are unable to determine the Windows version installed on your PC, download the standard binary installer.

    • 6

      Choose the "Python Windows Installer" link for a standard environment, the "Python AMD64 Installer" for computers running 64-bit Windows or the "Python Windows Itanium Installer" for Intel Itanium computers.

    • 7

      Click the download link. You can either download the file and then run it, or run it automatically. It's advisable to download the file so you’ll have a copy for future use.

    Run the Installer

    • 8

      Run the installer, if you didn't run it automatically from the download dialog. Find the .msi file using Windows explorer and run it. An installer program will open. Click "Install for All Users" and then click "Next."

    • 9

      Choose an installation directory for Python. The default – "C:\Python25" – is recommended, as situations may arise when it will be useful for you to type the full path to the python interpreter from the command line. A short directory name on the C:\ drive is easier to type.

    • 10

      Choose the features you want to install and click "Next" to start the installation. Wait a few minutes for the process to be completed. Once Python has been installed, click "Finish" to close the installer.

    • 11

      Click "Programs,” “Python 2.5” and then “Python” from the Windows Start menu to test Python. A black-and-white window will open with an interactive Python command prompt. After you’ve confirmed that Python is correctly installed, close the command prompt window.

    • 12

      Open a command prompt by clicking “Start” and then “Run.” When the dialog opens, type "cmd" into the search box and press “OK.” Running Python programs from the command line is a useful way to see output and pass parameters.

    • 13

      Change to your Python directory. If you accepted the default Python directory, type "cd C:\Python25" into the command prompt and press “Enter.” If you installed elsewhere, change "C:\Python25" to the installation folder. Type "python" and press “Enter” to start the Python command line prompt.

Tips & Warnings

  • Changing to the directory is similar to starting the python command line prompt from the Start menu, but it allows you to start your own programs instead of the python interactive prompt.

Related Searches:

References

Resources

  • Photo Credit Comstock/Comstock/Getty Images

Comments

You May Also Like

  • How to Install Python

    The Python programming language began in the 1980s, when Dutch programmer Guido van Rossum began developing it from the older ABC programming...

  • How to Install NTop On Windows

    NTop is a utility that shows the current usage of a network interface, broken down by the program that is generating that...

  • How to Install Python in Ubuntu

    Python, a free, open-source programming language, is a graphical, easy-to-use installation tool for thousands of programs on the Ubuntu OS and other...

  • How to Install Windows XP in Virtualbox

    Oracle VM VirtualBox is a software application that creates a virtual PC within a host operating system, and has versions available for...

  • How to Install Python in Ubuntu Manually

    Like its reptilian namesake, the Python programming language has grown continuously by embracing the latest trends in application development while holding tight...

  • How to Install an ActiveX Control on Windows XP

    ActiveX controls are small programs that are used to add functionality to the Internet Explorer browser. They can make a website more...

  • How to Install PyLab on Python

    PyLab is a module that belongs to the Python mathematics library Matplotlib. PyLab combines the numerical module numpy with the graphical plotting...

  • How to Install Python 2.7 With Yum

    Yum is a command-line-based package-management system for Linux. The Python scripting language can be installed using Yum if your Linux system supports...

  • How to Install Windows

    New windows add to the appearance of your home, make it more comfortable and definitely increase its energy efficiency. Modern windows come...

  • How to Install Windows Updates Manually

    Windows Updates are critical for users of Windows operating systems. They often contain important fixes for bugs and remedy system problems. Microsoft...

  • How to Update Python to 2.6

    The Python 2.6 series is a maintenance release for Python 2.5. This means that no new features have been added, but many...

  • How to Install a Python Exhaust on a Harley

    Harley-Davidson motorcycles come in all shapes and sizes, but they always come with an extra helping of style. From leather upholstery to...

  • How to Read Russian Language Unicode on Windows XP

    If you want to be able to read Russian language unicode (characters) on your Windows XP computer, you will need to download...

  • How to Install Drivers in Windows XP

    Windows XP dominated the personal computer market for almost a decade. But on July 11, 2011, Microsoft announced that it would cease...

  • How to Install Python Fuel Pumps

    Using an inline, electric fuel pump, instead of replacing the OEM fuel pump in a car's fuel tank, is an economical and...

  • How to Program in Python

    Guido van Rossen created the Python programming language. This object-oriented language is open source and platform independent. Programmers can write an application...

  • How to Make Python Script Executable

    One reason for Python's increased popularity as a high-level programming language is its portability. Scripts written on a Mac, for example, will...

  • How to Run a Python Script

    Python is a scripting language that runs on many different operating systems. Python is capable of managing and parsing files, pruning databases,...

  • How to Change Icons on Windows XP

    Windows XP relies heavily on a Graphical User Interface (GUI) to transmit and receive input from its users. When you want to...

  • How to Install Windows 7

    Starting on October 22, Microsoft's new operating Windows 7 will hit store shelves. Windows 7 contains a ton of new and useful...

Related Ads

Featured