Python专区 加入小组

141个成员 36个话题 创建时间:2019-12-17

为什么要学 Python? 置顶

发表于2020-03-18 3754次查看

说说你学习 Python 的原因。

5回复
  • 2楼 山有木兮水有鱼 2020-03-19

    根本原因:R的没落,Python的崛起,激发了我对这个胶水语言的兴趣。

    直接原因,被Python之禅打动了:

    >>> import this
    The Zen of Python, by Tim Peters
    
    Beautiful is better than ugly.
    Explicit is better than implicit.
    Simple is better than complex.
    Complex is better than complicated.
    Flat is better than nested.
    Sparse is better than dense.
    Readability counts.
    Special cases aren't special enough to break the rules.
    Although practicality beats purity.
    Errors should never pass silently.
    Unless explicitly silenced.
    In the face of ambiguity, refuse the temptation to guess.
    There should be one-- and preferably only one --obvious way to do it.
    Although that way may not be obvious at first unless you're Dutch.
    Now is better than never.
    Although never is often better than *right* now.
    If the implementation is hard to explain, it's a bad idea.
    If the implementation is easy to explain, it may be a good idea.
    Namespaces are one honking great idea -- let's do more of those!

    Tim Peters的Python之禅

    美丽胜过丑陋,显式优于隐式。
    简单比复杂好,复杂比繁杂好。
    扁平优于嵌套,稀疏胜过密集。
    可读性很重要。
    纵使实用胜过统一,特例也不足以打破规则。
    错误宁杀错不放过,除非你心地善良。
    面对两可的事实,拒绝猜测的诱惑。
    找寻一个—最好只有一个—明确的方法来完成项目,尽管那条唯一的明确方案不好找,除非你是荷兰人。
    现在比永不好,永不比马上好。
    如果想法很难解释,这是一个坏主意。如果想法很容易解释,那可能是个好主意。
    命名空间是个很棒的主意—让我们做更多的事情吧!

  • 3楼 wangzhiqing1993 2020-03-24

    学少了不开心,学多了不介意

  • 4楼 管某python 2020-04-06

    3年前看到人生苦短,我用python,为此还购买了一本python核心编程,当然也在网络上搜索了一下python,听了些爬虫课程,主要是冲美女cheeky

  • 5楼 hillchenyus 2020-07-24

    跟高手在一起

  • 6楼 CDA网校 2020-09-03

    laugh

发表回复
你还没有登录,请先 登录或 注册!
话题作者
CDA 教育品牌联合创始人