p1.python下载安装+hello world测试

博主是window系统,下的也是window版本,Linux系统的同学,需要下载源代码再编译,我没试过就不多说了

参考https://blog.csdn.net/culous/article/details/78604618

1.官网http://www.python.org/download/ 

2.选择版本

Download Windows x86 web-based installer
Download Windows x86 executable installer
Download Windows x86 embeddable zip file
Download Windows x86-64 web-based installer
Download Windows x86-64 executable installer
Download Windows x86-64 embeddable zip file

x86是32位,x86-64是64位

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

web-based installer 是需要通过联网完成安装的
executable installer 是可执行文件(*.exe)方式安装
embeddable zip file 嵌入式版本,可以集成到其它应用中。

所以,windows用户一般下载 executable installer 版本就ok啦

3.双击下载的文件----勾上add python to Path---点击Customize(Python的安装路径添加到系统环境变量的Path变量中。然后选择自定义路径进行安装 )---Next---勾上第一项install for all users---更换安装路径--点击安装install 

4.验证python安装成功

点击右下角的windows图标---输入cmd按下回车---输入Python没有报错代表安装完成

5.pyhon的 Hello world

打开python--输入print("Hello World!")--回车

 

 

 

发布了37 篇原创文章 · 获赞 5 · 访问量 8330

猜你喜欢

转载自blog.csdn.net/guqigongzi/article/details/88380062