坚持每天学习python,立帖为证。
1.在Centos6.5上安装python
python官网 www.python.org 下载对应版本 。centos6.5自带2.6
[root@python ~]# python
Python 2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
2 Windows安装
下载python2.7
下载的是一个msi的文件。双击默认安装
配置环境变量
C:\Python27 加载到环境变量里
cmd 输入 python 可以查看