原文:python 之禪 import this

dongweiming的博客 前言 我這個博客一直都是一些技術分享,show code的地方,我從來沒有寫過個人生活或者情感雜談,當然我也從來沒有談論過我對什么東西的喜惡. 很多人喜歡噴XX語言,喜歡談論XX和YY的優缺,甚至湊了一本不知所雲的書 好吧,我覺得沒有使用一門語言超過 年,沒有對一個技術研究個 , 年, 不好意思說自己懂 天才除外 .我也覺得我沒有資格討論什么,也許我有我的觀點看法,但 ...

2018-07-05 16:03 0 4236 推薦指數:

查看詳情

python

The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex ...

Tue Jul 05 22:42:00 CST 2016 1 3562
pythonpython

最近在學python,今晚看了一個名叫“python全棧之路系列”的關於python的相關博客,其中開篇就說到了python的設計哲學:優雅,簡潔。。。 可以在編譯器里面輸入如下語句來查看python語言的設計哲學: 中英文釋義 ...

Wed Aug 23 07:31:00 CST 2017 0 10020
Python(The Zen of Python)

在交互式解釋器中輸入 import this 就會顯示 Tim Peters 的 The Zen of Python import this 全文內容對照翻譯如下: Python 中英文對照 The Zen ...

Wed Jul 25 17:28:00 CST 2018 0 1281
[轉]Python

原文: http://blog.csdn.net/lanphaday/article/details/2151918 凡是用過 Python的人,基本上都知道在交互式解釋器中輸入 import this 就會顯示 Tim Peters 的 The Zen ...

Fri Jan 06 06:12:00 CST 2012 0 8265
Python及其翻譯

凡是用過 Python的人,基本上都知道在交互式解釋器中輸入 import this 就會顯示 Tim Peters 的 The Zen of Python,但它那偈語般的語句有點令人費解,所以我想分享一下我對它的體會,順帶給出我的翻譯。 翻譯和解 ...

Thu Nov 23 07:31:00 CST 2017 1 20112
Python小知識之python

針對今天大佬提了一嘴,特意的去了解了一下Python,滿足一下自己的求知欲。   Python,英文又叫做 The Zen of Python,它總結了Python的風格,總結出的一種標准,讓代碼變得更加優美,干練,益讀。   作為一個復活節彩蛋,我們需要輸入在import ...

Sat Mar 21 01:18:00 CST 2020 0 797
Pythonimport 與__import__()

首先來說一下兩者的區別:   import指令做了兩件事:1)搜索module,2)綁定到局部變量   內置函數__import__()只做了一件事:搜索module   import指令執行過程中是調用__import__()來完成Module檢索的。 搜索module的過程 ...

Thu Sep 20 02:01:00 CST 2018 0 4730
python from importimport as 的含義

from os import makedirs, unlink, sep #從os包中引入 makedirs.unlink,sep類from os.path import dirname, exists, isdir, splitext 從 os包中的path類中引入 dirmame ...

Wed Mar 22 00:51:00 CST 2017 0 14941
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM