day01 安裝配置python環境

堅持每天學習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 可以查看



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章