格子家园

 找回密码
 加入我们
查看: 2188|回复: 14

Win10系统如何搭建Python 3.5.2开发环境

[复制链接]

1万

主题

260

回帖

4万

积分

Level 10

Rank: 12Rank: 12Rank: 12

积分
46427
发表于 2016-9-11 10:32:16 | 显示全部楼层 |阅读模式
因为工作需求,一位windows10正式版用户,想要在最新的系统中搭建Python 3.5.2开发环境。那么,这该如何操作呢?会不会非常复杂呢?为了帮助大家更好地使用win10系统,下面小编就分享搭建和测试Python 3.5.2开发环境的具体方法。

具体方法如下:

1、首先从Python官网下载安装软件,如下图,输入IP地址;

147285014773412597649e.jpg

2、找到Download,单击下面Python 3.5.2进入下载页面;

147285014773412597649e.jpg

3、点击“windows x86-64 executable installer”进行下载;

各个版本的介绍:

(下面的都是windows系统平台的安装包,x86适合32位操作系统;x86-64适合64位操作系统)

下面是官网的解释:

The binaries for AMD64 will also work on processors that implement

the Intel 64 architecture. (Also known as the "x64" architecture, and

formerly known as both "EM64T" and "x86-64".) They will not work on

Intel Itanium Processors (formerly "IA-64").

Windows users: If installing Python 3.5 as a non-privileged user,

you may need to escalate to administrator privileges to install an

update to your C runtime libraries.

Windows users: There are now "web-based" installers for Windows

platforms; the installer will download the needed software components at

installation time.

Windows Users: There are redistributable zip files containing the

Windows builds, making it easy to redistribute Python as part of another

software package. Please see the documentation regarding Embedded Distribution for more information.It is intended for acting as part of another application, rather than being directly accessed by end-users.

可以通过下面3种途径获取python:

web-based installer 是需要通过联网完成安装的

executable installer 是可执行文件(*.exe)方式安装

embeddable zip file 嵌入式版本,可以集成到其它应用中

147285014773412597649e.jpg

4、找到下载后的文件;

147285014773412597649e.jpg

5、双击安装文件,点击下图所示的自定义安装“custom installation”;

147285014773412597649e.jpg

6、点击下一步,“Next”;

147285014773412597649e.jpg

7、此处可更换安装目录,然后单击安装“install”;

147285014773412597649e.jpg

8、等待自动安装……

147285014773412597649e.jpg

9、安装成功!

147285014773412597649e.jpg

运行测试:

1、启动Python shell,在“搜索Web和Windows”中输入:idle;

147285014773412597649e.jpg

2、就会启动python IDLE,可以交互运行python;

147285014773412597649e.jpg

3、同样可以按“Ctrl + N”打开IDLE开发工具,输入程序代码;

147285014773412597649e.jpg

4、编写完程序后,“Ctrl + S”保存,然后如大多数编程软件一样,按“F5”运行程序;

147285014773412597649e.jpg

5、如果程序没有问题,此时在Idle中打印出“Hello World!”。

147285014773412597649e.jpg

Win10搭建Python 3.5.2开发环境教程就介绍到这里了。刚刚使用windows10正式版的用户们,如果也有同样需求的话,不妨按照上述步骤操作自己手动一遍。

0

主题

391

回帖

781

积分

Level 3

Rank: 4

积分
781
发表于 2016-9-11 10:41:00 | 显示全部楼层
這個帖子根本就是要頂起來的阿

0

主题

371

回帖

740

积分

Level 3

Rank: 4

积分
740
发表于 2016-9-12 05:25:24 | 显示全部楼层
前排,留名!

0

主题

382

回帖

764

积分

Level 3

Rank: 4

积分
764
发表于 2016-9-12 13:53:58 | 显示全部楼层
围观 围观 沙发在哪里!!!

0

主题

378

回帖

756

积分

Level 3

Rank: 4

积分
756
发表于 2016-9-12 21:03:19 | 显示全部楼层
楼主呀,,,您太有才了。。。

0

主题

397

回帖

792

积分

Level 3

Rank: 4

积分
792
发表于 2016-9-12 21:19:50 | 显示全部楼层
为毛老子总也抢不到沙发?!!

0

主题

373

回帖

746

积分

Level 3

Rank: 4

积分
746
发表于 2016-9-12 23:46:56 | 显示全部楼层
非常好,顶一下

0

主题

380

回帖

760

积分

Level 3

Rank: 4

积分
760
发表于 2016-9-13 08:53:29 | 显示全部楼层
本宫准楼下的继续跟帖。。。

0

主题

417

回帖

834

积分

Level 3

Rank: 4

积分
834
发表于 2016-9-13 12:53:59 | 显示全部楼层
very good

0

主题

340

回帖

679

积分

Level 3

Rank: 4

积分
679
发表于 2016-9-13 21:12:48 | 显示全部楼层
不错 支持一个了
您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

手机版|小黑屋|格子家园 ( 联系邮箱:121272135@qq.com )

GMT+8, 2024-5-16 06:18 , Processed in 0.067771 second(s), 35 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表