如果問我在這個時代
什么知識和技能是最有用的
最值得去學(xué)習(xí)的
最值得讓它占據(jù)我們大腦的
Python應(yīng)該在其中
------潘石屹
文末附上Python相關(guān)教學(xué)視頻及電子書
以下是往期小白菌分享的相關(guān)Python學(xué)習(xí)資料扔茅,
免費~免費~免費~
送給真正需要的小伙伴!
好了秸苗,最后的最后召娜,
請大家在Python交互式環(huán)境中輸入以下代碼,
1import?this?
您將看到由Tim Peter撰寫的“Python之禪”惊楼,
大家好好欣賞下吧玖瘸!
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,
同時也適用于其他編程語言檀咙。