初识Python

Python前世今生

python的创始人为吉多·范罗苏姆(Guido van Rossum)。1989年的圣诞节期间,吉多·范罗苏姆为了在阿姆斯特丹打发时间,决心开发一个新的脚本解释程序,作为ABC语言的一种继承。  

最新的2018TIOBE排行榜,Python赶超PHP占据第4!!!

Python发展史
Python 2.6 – October 1, 2008
Python 2.6.1 – October 1, 2008
Python 2.6.6 – October 1, 2008
Python 3.0 – December 3, 2008
Python 2.7 – July 3, 2010 #目前业内主流使用的工业版本依然是2.7

print “hello world” #in 2.x
print(“hello world”) #in 3.x

In summary : Python 2.x is legacy, Python 3.x is the present and future of the language
总结: python2.x 是遗产, python3.x是现在和未来的语言

python 2 vs 3区别
1、 默认支持中文
2、 不兼容2.x
3、 核心语法调整,更易学
4.、新特性默认只在3.x上有

Python环境 

安装Python

windows:

1 2 3 4 5 6 7

linux:

1 2 3  

更新Python

windows:

1

linux:

Linux的yum依赖自带Python,为防止错误,此处更新其实就是再安装一个Python

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19      

文章知识点与官方知识档案匹配,可进一步学习相关知识Java技能树首页概览91472 人正在系统学习中 相关资源:吉大软件工程学硕考研专业课.zip_吉林大学考研专业课-专业指导…

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2018年5月18日
下一篇 2018年5月18日

相关推荐