Python介绍

limodou

limodou@gmail.com

一、开场白

[any material that should appear in print but not on the slide]

二、Python的历史

  • 创始人Guido van Rossum,原在荷兰,现在美国。
  • [any material that should appear in print but not on the slide]

    2.1 Python的历史

    Python的创始人为Guido van Rossum。1989年圣诞节期间,在阿姆斯特丹,Guido为了打发圣诞节的无趣,决心开发一个新的脚本解释程序,做为ABC语言的一种继承。之所以选中Python作为程序的名字,是因为他是一个Monty 大蟒蛇飞行马戏团的爱好者。

    [any material that should appear in print but not on the slide]

    2.2 Python的历史

    ABC是由Guido参加设计的一种教学语言。就Guido本人看来,ABC这种语言非常优美和强大,是专门为非专业程序员设计的。但是ABC语言并没有成功,究其原因,Guido认为是非开放造成的。Guido决心在Python中避免这一错误(的确如此,Python与其它的语言如C,C++和Java结合的非常好)。同时,他还想实现在ABC中闪现过但未曾实现的东西。

    [any material that should appear in print but not on the slide]

    2.3 Python的历史

    就这样,Python在Guido手中诞生了。实际上,第一个实现是在Mac机上。可以说,Python是从ABC发展起来,主要受到了Modula-3(另一种相当优美且强大的语言,为小型团体所设计的)的影响。并且结合了Unix Shell和C的习惯。

    [any material that should appear in print but not on the slide]

    2.4 Python的历史

  • 目前Python已经发展到 2.4.1
  • 可以在众多的平台上运行
  • [any material that should appear in print but not on the slide]

    三、Python的应用领域

    [any material that should appear in print but not on the slide]

    3.1 GUI

    [any material that should appear in print but not on the slide]

    3.2 网络

    [any material that should appear in print but not on the slide]

    3.3 图形

    [any material that should appear in print but not on the slide]

    3.4 文档

    [any material that should appear in print but not on the slide]

    3.5 游戏

    [any material that should appear in print but not on the slide]

    3.6 Web开发

    [any material that should appear in print but not on the slide]

    3.7 科学计算

    [any material that should appear in print but not on the slide]

    3.8 移动开发

    [any material that should appear in print but not on the slide]

    3.9 嵌入开发

    [any material that should appear in print but not on the slide]

    3.10 数据库开发

    [any material that should appear in print but not on the slide]

    四、Python的影响

    [any material that should appear in print but not on the slide]

    五、Python的特性

    [any material that should appear in print but not on the slide]

    6.1 运行方式

    [any material that should appear in print but not on the slide]

    6.2 动态绑定

    [any material that should appear in print but not on the slide]

    6.3 面向对象

    [any material that should appear in print but not on the slide]

    6.4 模块和包

    [any material that should appear in print but not on the slide]

    6.5 语言的扩展

    [any material that should appear in print but not on the slide]

    6.6 Unicode的支持

    [any material that should appear in print but not on the slide]

    6.7 有趣的语法

    [any material that should appear in print but not on the slide]

    6.8 其它

    [any material that should appear in print but not on the slide]

    六、Python的哲学

    [any material that should appear in print but not on the slide]

    6.1 Zen of Python

    蠎禅
    优美胜过丑陋 明确胜过含蓄
    简单胜过复杂 复杂胜过难懂
    扁平胜过嵌套 稀疏胜过密集
    易读亦有价
    尽管实用会击败纯洁 特例也不能特殊到打破规则
    除非明确地使其沉默 错误永远不应默默地溜掉
    面对着不确定,要拒绝猜测的诱惑
    应该有一个--宁肯只有一个--明显的实现方法
    也许这个方法开始不是很明显,除非你是荷兰人
    尽管不做通常好过立刻做 但现在做也要胜过不去做
    如果实现很难解释,那它就是一个坏想法
    如果实现容易解释,那它可能就是一个好想法
    名字空间是一个响亮的出色想法--就让我们多用用它们
    [any material that should appear in print but not on the slide]

    七、如何学习Python

    [any material that should appear in print but not on the slide]

    八、Python在中国的发展

    [any material that should appear in print but not on the slide]

    九、Python的一些资源

    [any material that should appear in print but not on the slide]

    十、问题时间

    谢谢!
    [any material that should appear in print but not on the slide]