Python - windows install and run

Python Installation

1. Go to the official Python website to download the installation package

Click on the navigation bar Downloads will automatically recognize your windows system and you will see Python3.6.2 Python2.7.13    (32-bit systems) installation package

Note: Python3 no longer be compatible with future versions to Python2, if you are all alone to learn something new proposal directly download Python3 future versions 

If your system is windows64 bit or you want to download another version of the installation package - Click on Downloads> Windows version download the installation package you need

Note: 64-bit version can not be installed on the 32-bit system, but the 32-bit version may be mounted on a 64-bit system

2. Python installed on your windows operating system

I installed the 64-bit system installation package, so the display, install it to Install Python3.6.2 (64-bit) based on windows system requirements

Here to customize the installation, for example

Note: Check  to add to the Python environment variable, so that later in the windows command prompt, you can run the following Python

 

 If there are no special requirements on the whole elected. In case it uses ~ o (^ ▽ ^) o Click Next to the next step

 

Select the   installation directory will change, please according to their own needs to modify the installation path and then click Install next step

 

Installing.....

 The installation is complete! !

 

 

Python runtime

1. Use the Windows command prompt cmd    

              Note: If the input type python at the root of the return value of the following to prove that you have successfully installed the python to environment variables

              

2. Run Script - Create .py file

In the run cmd file test.py

Published 47 original articles · won praise 121 · views 680 000 +

Guess you like

Origin blog.csdn.net/guoyunfei123/article/details/84644592