国产xxxx99真实实拍_久久不雅视频_高清韩国a级特黄毛片_嗯老师别我我受不了了小说

資訊專欄INFORMATION COLUMN

PEP 20 -- The Zen of Python

derek_334892 / 496人閱讀

共勉

  

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!

彩蛋
>>> import this

文章版權歸作者所有,未經允許請勿轉載,若此文章存在違規行為,您可以聯系管理員刪除。

轉載請注明本文地址:http://specialneedsforspecialkids.com/yun/37455.html

相關文章

  • 學習Python,怎能不懂點PEP呢?

    摘要:或許你是一個初入門的小白,完全不知道是什么。到目前為止,它擁有個兄弟姐妹。此外,關于對的貢獻,還有一種很有效的方式,就是將翻譯成中文,造福國內的學習社區。 或許你是一個初入門Python的小白,完全不知道PEP是什么。又或許你是個學會了Python的熟手,見過幾個PEP,卻不知道這玩意背后是什么。那正好,本文將系統性地介紹一下PEP,與大家一起加深對PEP的了解。 目前,國內各類教程不...

    Magicer 評論0 收藏0
  • PyCharm使用autopep8按PEP8風格自動排版Python代碼

    摘要:應該提供一種,且最好只提供一種,一目了然的解決方案當然這是沒法一蹴而就的,除非你是荷蘭人固然,立刻著手好過永遠不做。簡而言之就是整個項目周期中越早暴露的問題,其修復成本越低本文作者解釋說這里的荷蘭人指的是的作者 前言 autopep8是一個將Python代碼自動排版為PEP8風格的小工具。它使用pep8工具來決定代碼中的哪部分需要被排版。autopep8可以修復大部分pep8工具中報告...

    Sanchi 評論0 收藏0

發表評論

0條評論

最新活動
閱讀需要支付1元查看
<