下载和安装Python语言

今天刚好安装了Python,就把自己写了个教程:

第一步:在浏览器上输入 https://www.python.org

第二步:找到Downloads选择Windows,双击。如下图:

下载和安装Python语言

第三步:找到Download Windows x86 executable installer,双击就可以直接下载了。

下载和安装Python语言

下载完成之后,双击安装。

下载和安装Python语言

翻译:

Install Python 3.6.3(32-bit)

安装Python 3.6.3(32位)
select Install Now to install python with default settings,or choose customize to enable or disable features.

选择安装现在安装python使用默认设置,或选择启用或禁用功能定制。
Install Now

现在安装
Includes IDLE,pip and documentation creates shortcuts and file associations

包括闲置,pip和文档创建快捷方式和文件关联
Customize installation

自定义安装
Choose location and features

选择位置和功能
Install launcher for all users(recommended)

为所有用户安装发射器(推荐)
Add Python 3.6 to PATH

Python 3.6添加到路径


选择Customize installation

下载和安装Python语言

翻译:

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。


点击Next(下一步)

下载和安装Python语言

翻译:

Advanced Options

高级选项
Install for all users

安装所有用户
Associate files with Python (requires the py launcher)

将文件与Python(需要py发射器)
Create shortcuts for installed applications

为已安装的应用程序创建快捷方式
Add Python to environment variables

添加Python环境变量
Precompile standard library

预编译标准库
Download debugging symbols

下载调试符号
Download debug binaries(requires VS 2015 or later)

下载调试二进制文件(需要VS 2015或更高版本)

选择安装路径,点击Install;OK了完成。然后就是运行程序了。

噢,对了,需要配置环境变量。

装完之后打开电脑的cmd,验证一下安装是否成功,主要是看环境变量有没有设置好,
在cmd中输入python,然后回车,如果出现python的版本号则说明软件装好了。

验证失败的话可能就是环境变量没有设置好,继续在命令行里输入set Path,
就打开了系统环境变量的Path变量,查看一下有没有Python的目录(如下图),如果没有,
就只能手动去填加了。