- Python期货量化交易实战
- 酆士昌 刘承彦著 席松鹤改编
- 384字
- 2020-08-27 12:22:22
技巧2 【操作】安装Python的基本环境
本技巧将介绍如何在Windows操作系统上安装Python。本书以Python 3.7版本为例介绍其安装过程。
步骤01 在Python官方网站中的Windows下载专区,单击下载“Latest Python 3 Release – Python3.7.3”,如图1-1所示。

图1-1
步骤02 进入下载页面后,选择32位或64位的Python进行下载,如图1-2所示。

图1-2
步骤03 当下载完成后,启动安装程序,选中“Install for all users”单选项,单击“Customize installation”按钮,如图1-3所示。

图1-3
步骤04 设置路径为“C:\Python37”,并单击“Install”按钮,如图1-4所示。

图1-4
步骤05 Python的安装进度界面如图1-5所示。

图1-5
步骤06 安装完成后,单击“Close”按钮,如图1-6所示。

图1-6
步骤07 安装完成后,在安装路径下会有Python启动程序,如图1-7所示。

图1-7
步骤08 在“开始”菜单中,也有Python启动的快捷方式。选择“IDLE(Python 3.7 64-bit)”,如图1-8所示。

图1-8
步骤09 打开IDLE(Python GUI)启动程序,如图1-9所示。

图1-9
在Python GUI与Windows CMD中启动Python的差别在于,Python GUI提供的功能选项较多,因此若通过Python GUI开发,将有更多的选项可供使用。