Tutorials for installing Python under Windows

Source: Internet
Author: User
The following small series for everyone to bring a tutorial to install Python-windows. Small series feel very good, now share to everyone, also for everyone to make a reference. Let's take a look at it with a little knitting.

Before you start Python programming, you need to install the Python environment first. Python installation package can be downloaded to the official website of Python, the official website address is https://www.python.org/, if you want to skip the introduction of Python directly download the installation package, you can directly access the www.python.org/downloads/download the installation package.

Install Python under Windows

To install Python under Windows, follow these steps:

1. Open a Web browser and access www.python.org/downloads/windows/.

2, choose the version of the installation package you need. (currently 2.7 or 3.5 versions of Python are generally recommended)

3. Download the corresponding Windows Installer file (if you install Python under AMD, you will need to select the appropriate installation file).

4. Place Windows Installer files anywhere on your computer, such as D:\Software\python-2.7.5.msi.

5. Double-click the Python installation package to open the Python Installation Wizard. If you are unfamiliar with the installation process or have no requirements for the installation path, you can complete the default installation by clicking Next. You can also customize the installation to suit your needs. The default installation path is in the Python version number folder for the C drive. Custom, you can install it in the directory you specify as needed.

6. After the installation is complete, you need to add the Python runtime to the system environment variable. Right-click "Computer"-"Properties"-"Advanced system Settings"-"Environment variables"-"System Variables"-"Path" and "edit" add the following at the end: ";D: \python27\"; I have custom installed Python2.7 in the D disk, so here is the path to add, according to the path of their own Python.exe files can be added.

Suggestions:

In order to facilitate future management, the program installation package and program installation directory should be planned in advance.

After the installation is complete, we can find the Python program in Windows, and in the "Start" and "All Programs" and "python2.7" you can see a Python IDE integrated development tool with an "IDLE (Python GUI)".

With this Python IDE tool we can do a simple python exercise interactively. Of course we can also open a command prompt window with the "Win+r" key, enter the Python command, or open the Python interactive window.

This completes the installation of the Python environment under Windows, and we certainly need to use other IDE-integrated development environments to improve development efficiency for the sake of development. such as Pycharm, Subpme text, notepad++, Ecppse+pydev and so on, online recharge casually Baidu a lot.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.