{"id":181,"date":"2020-09-27T15:49:36","date_gmt":"2020-09-27T07:49:36","guid":{"rendered":"https:\/\/blog.llssh.cn\/?p=181"},"modified":"2020-09-27T15:52:50","modified_gmt":"2020-09-27T07:52:50","slug":"python%e4%b9%8b%e7%a6%85","status":"publish","type":"post","link":"https:\/\/blog.llssh.cn\/index.php\/2020\/09\/27\/python%e4%b9%8b%e7%a6%85\/","title":{"rendered":"Python\u4e4b\u7985"},"content":{"rendered":"\n<p>The Zen of Python, by Tim Peters<\/p>\n\n\n\n<p class=\"has-normal-font-size\">Beautiful is better than ugly.<br>Explicit is better than implicit.<br>Simple is better than complex.<br>Complex is better than complicated.<br>Flat is better than nested.<br>Sparse is better than dense.<br>Readability counts.<br>Special cases aren&#8217;t special enough to break the rules.<br>Although practicality beats purity.<br>Errors should never pass silently.<br>Unless explicitly silenced.<br>In the face of ambiguity, refuse the temptation to guess.<br>There should be one&#8211; and preferably only one &#8211;obvious way to do it.<br>Although that way may not be obvious at first unless you&#8217;re Dutch.<br>Now is better than never.<br>Although never is often better than <em>right<\/em> now.<br>If the implementation is hard to explain, it&#8217;s a bad idea.<br>If the implementation is easy to explain, it may be a good idea.<br>Namespaces are one honking great idea &#8212; let&#8217;s do more of those!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Zen of Python, b &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Python\u4e4b\u7985\" class=\"read-more button\" href=\"https:\/\/blog.llssh.cn\/index.php\/2020\/09\/27\/python%e4%b9%8b%e7%a6%85\/#more-181\" aria-label=\"More on Python\u4e4b\u7985\">\u8be6\u7ec6\u9605\u8bfb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[23],"class_list":["post-181","post","type-post","status-publish","format-standard","hentry","category-python","tag-python"],"_links":{"self":[{"href":"https:\/\/blog.llssh.cn\/index.php\/wp-json\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.llssh.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.llssh.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.llssh.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.llssh.cn\/index.php\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":0,"href":"https:\/\/blog.llssh.cn\/index.php\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.llssh.cn\/index.php\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.llssh.cn\/index.php\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.llssh.cn\/index.php\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}