Win10系统如何搭建Python3.5.2开发环境|Win10搭建Python3.5.2开发环境教程

如题所述


因为工作需求,一位windows10正式版用户,想要在最新的系统中搭建Python3.5.2开发环境。那么,这该如何操作呢?会不会非常复杂呢?为了帮助大家更好地使用win10系统,下面小编就分享搭建和测试Python3.5.2开发环境的具体方法。
具体方法如下:
1、首先从Python官网下载安装软件,如下图,输入IP地址;
2、找到Download,单击下面Python3.5.2进入下载页面;
3、点击“windowsx86-64executableinstaller”进行下载;
各个版本的介绍:
(下面的都是windows系统平台的安装包,x86适合32位操作系统;x86-64适合64位操作系统)
下面是官网的解释:
ThebinariesforAMD64willalsoworkonprocessorsthatimplement
theIntel64architecture.(Alsoknownasthex64architecture,and
formerlyknownasbothEM64Tandx86-64.)Theywillnotworkon
IntelItaniumProcessors(formerlyIA-64).
Windowsusers:IfinstallingPython3.5asanon-privilegeduser,
youmayneedtoescalatetoadministratorprivilegestoinstallan
updatetoyourCruntimelibraries.
Windowsusers:Therearenowweb-basedinstallersforWindows
platforms;theinstallerwilldownloadtheneededsoftwarecomponentsat
installationtime.
WindowsUsers:Thereareredistributablezipfilescontainingthe
Windowsbuilds,makingiteasytoredistributePythonaspartofanother
softwarepackage.PleaseseethedocumentationregardingEmbeddedDistributionformoreinformation.Itisintendedforactingaspartofanotherapplication,ratherthanbeingdirectlyaccessedbyend-users.
可以通过下面3种途径获取python:
web-basedinstaller是需要通过联网完成安装的
executableinstaller是可执行文件(.exe)方式安装
embeddablezipfile嵌入式版本,可以集成到其它应用中
4、找到下载后的文件;
5、双击安装文件,点击下图所示的自定义安装“custominstallation”;
6、点击下一步,“Next”;
7、此处可更换安装目录,然后单击安装“install”;
8、等待自动安装
9、安装成功!
运行测试:
1、启动Pythonshell,在“搜索Web和Windows”中输入:idle;
2、就会启动pythonIDLE,可以交互运行python;
3、同样可以按“Ctrl+N”打开IDLE开发工具,输入程序代码;
4、编写完程序后,“Ctrl+S”保存,然后如大多数编程软件一样,按“F5”运行程序;
5、如果程序没有问题,此时在Idle中打印出“HelloWorld!”。
Win10搭建Python3.5.2开发环境教程就介绍到这里了。刚刚使用windows10正式版的用户们,如果也有同样需求的话,不妨按照上述步骤操作自己手动一遍。
温馨提示:答案为网友推荐,仅供参考