python学习笔记——基础篇(0):python环境搭建
2017-01-21 11:53
351 查看
python学习笔记——基础篇(0):python环境搭建
该系列用于记录自己学习python的过程。python是一种解释型语言,所以我们只需要安装一个解释器即可。
不知道什么是解释型语言?参考解释型语言和编译型语言的差别。
不同的操作系统有不同的安装方法。
windows
下载安装包,https://www.python.org/downloads/。这里可以选择python2.7或者python3.0,建议下载2.7,毕竟3.0的兼容性得不到保障。想知道2.7和3.0之间有什么区别?Should I use Python 2 or Python 3 for my development activity?添加环境变量,将python.exe的路径添加进环境变量,默认是”C:\Python27”
测试,打开命令行,输入python,看到输出一下代码说明环境配置成功:
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
linux
linux一般会预装一个python的解释器,但是版本一般比较低,如果你想升级它,参考linux下安装pythonmac osx
mac下也会预装python的解释器。参考:
廖雪峰的官方网站
Learn Python the Hard Way
相关文章推荐
- Python学习笔记(二)----Python环境搭建
- Python学习笔记-环境搭建
- python基础入门学习笔记(Python环境搭建)
- 【python学习笔记】1.python环境搭建
- VS2013中Python学习笔记[环境搭建]
- Python学习笔记:01 环境搭建和“Hello World!”
- Python-学习笔记(三)——开发环境搭建(numpy,scipy,matplotlib)
- VS2013中Python学习笔记[环境搭建]
- python学习笔记 python开发环境的搭建
- python学习笔记一(windows搭建Python环境)
- Mini 容器学习笔记1——环境搭建(基础篇)
- Python爬虫框架Scrapy 学习笔记 1 ----- 环境搭建
- python学习笔记-Web环境搭建
- python学习笔记之PyQt环境的搭建
- VS2013中Python学习笔记[环境搭建]
- Python学习笔记二:IDE环境搭建
- 【Cocos2D-X 学习笔记】Cocos2D-x 3.0+VS开发环境搭建[使用Python]
- Python学习笔记1-搭建Python环境 和 Python Hello World!
- python基础入门学习笔记(Python环境搭建)
- Python学习笔记一 ,环境搭建。