Refer to:http://blog.csdn.net/Ain_xiaobai/article/details/78570649

Python下载可以在百度查找“Python下载”:

或者直接搜索此网址:https://www.python.org/getit/

 

在官网有python2和python3可供选择,我下载的是python3:

 下载完安装包后开始安装:

选择Install Now那么就直接安装:

 

如果选择Customize installation则还可以选择安装工具和更改安装路径:

 

Optional Features

可选特性
Documentation

文档
Installs the Python documentation file.

安装Python文档文件。
pip

皮普
Installs pip,which can download and install other Python packages.

安装脉冲,可以下载并安装其他Python包。
tcl/tk and IDLE

tcl / tk和闲置
Installs tkinter and the IDLE development environment.

开发环境安装tkinter和闲置。
Python test suite 

Python测试套件
Installs the standard library test suite.

安装标准库测试套件中。
py launcher       for all users(requires elevation)

py发射器为所有用户(需要高度)
Installs the global 'py' launcher to make it easier to start Python.

全球的py安装发射器,让它更容易启动Python。

 

如果之前安装的时候忘记勾选自动生成环境变量,那么还可以手动添加:

修改:     我的电脑/此电脑->右键属性->高级系统设置->环境变量->系统变量中的PATH为:

 

 

 

 设置好后,按win+R进入运行栏输入cmd进入命令行后,输入python或者python --version出现以下结果就是安装成功了: