为什么用Python?

Python有异常庞大、丰富、免费、开源的数据分析、网站框架等生态系统。Python的学习资源也非常丰富,从人工智能系统到嵌入式的树莓派

If you’re learning about why to use Python you should also take a look at the best Python resources and read what “full stack” means.

Python的流行程度

有很多种编程语言流行程度的排行榜。不管是哪个榜单,Python都在前10之内。

IEEE把Python评为2016年第三大流行编程语言

PopularitY of Programming Language (PYPL),把Python评为第二大流行编程语言。.

GitHut, 把Python评为第三大流行编程语言。

这些排行榜并不绝对正确,但是可以部分说明,Python是一种非常受程序员欢迎的语言。

Python语言的设计哲学

在Python解析器中输入import this,可以得到这首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!

更多使用Python的理由: