Installing Python-windows
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, if you want to skip the introduction of Python directly download the installation package, you can directly access to download the installation package.
Install Python under Windows
To install Python under Windows, follow these steps:
Open a Web browser to access.
Select the version of the installation package that you want. (currently 2.7 or 3.5 versions of Python are generally recommended)
Download the corresponding Windows Installer file (if you have Python installed under AMD, you will need to select the appropriate installation file).
You can place Windows Installer files anywhere on your computer, such as D:\Software\python-2.7.5.msi.
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.
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, sublime text, notepad++, Eclipse+pydev and so on, online recharge casually Baidu a lot.