1、下载Python3
官网地址:www.python.org
当前最新版本为Python 3.7.3。
Windows下有个6个下载链接
Windows x86-64 embeddable zip file
Windows x86-64 executable installer
Windows x86-64 web-based installer
Windows x86 embeddable zip file Windows
Windows x86 executable installer
Windows x86 web-based installer
说明:
(1)x86-64适用于64位操作系统、x86适用于32位操作系统;
(2)embeddable zip、executable installer、web-based installer区别
embeddable zip: 下载的是一个压缩文件,解压后即表示安装完成。
executable installer: 下载的是一个几十MB的exe可执行程序,离线安装。
web-based installer: zip 下载的是一个几MB的exe可执行程序,需要联网安装。
3种方式最终都是一样的。
本人选择的是Windows x86-64 executable installer。
2、安装Python3
安装时勾选Add Pythone 3.7 to Path,表示在环境变量path添加python的安装路径。
3、在cmd命令行下查看Python命令,会显示版本号等信息
C:\Users\gdjlc>pytho