Submit Search
Upload
The Zen of Python
•
0 likes
•
469 views
Takeshi Ishita
Follow
The Zen of Python
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 22
Download now
Download to read offline
Recommended
Global digital statistics 2014
Global digital statistics 2014
Binh Pham Thanh
Interview tip 5 relax
Interview tip 5 relax
Professional, Rehab, & Occupational Services
Magento hosting: Why Has Traffic Planet Hosting Revolutionized Ecommmerce We...
Magento hosting: Why Has Traffic Planet Hosting Revolutionized Ecommmerce We...
magento_hosting
Vietnam best places to work 2013
Vietnam best places to work 2013
Binh Pham Thanh
第一回機械学習アルゴリズム実装会
第一回機械学習アルゴリズム実装会
Takeshi Ishita
Social digital mobile in vietnam
Social digital mobile in vietnam
Binh Pham Thanh
Juliaでオンライン線形分類器つくった
Juliaでオンライン線形分類器つくった
Takeshi Ishita
マルウェア分類に用いられる特徴量 Kaggle - Malware Classification Challenge勉強会
マルウェア分類に用いられる特徴量 Kaggle - Malware Classification Challenge勉強会
Takeshi Ishita
Recommended
Global digital statistics 2014
Global digital statistics 2014
Binh Pham Thanh
Interview tip 5 relax
Interview tip 5 relax
Professional, Rehab, & Occupational Services
Magento hosting: Why Has Traffic Planet Hosting Revolutionized Ecommmerce We...
Magento hosting: Why Has Traffic Planet Hosting Revolutionized Ecommmerce We...
magento_hosting
Vietnam best places to work 2013
Vietnam best places to work 2013
Binh Pham Thanh
第一回機械学習アルゴリズム実装会
第一回機械学習アルゴリズム実装会
Takeshi Ishita
Social digital mobile in vietnam
Social digital mobile in vietnam
Binh Pham Thanh
Juliaでオンライン線形分類器つくった
Juliaでオンライン線形分類器つくった
Takeshi Ishita
マルウェア分類に用いられる特徴量 Kaggle - Malware Classification Challenge勉強会
マルウェア分類に用いられる特徴量 Kaggle - Malware Classification Challenge勉強会
Takeshi Ishita
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
More Related Content
Featured
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Featured
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
The Zen of Python
1.
The Zen of
Python
2.
自己紹介 石田岳志 (18) @sonicair 機械学習と Python
が大好き 仕事も機械学習
3.
The Zen of
Pythonとは
4.
Pythonプログラマが持つべき心構え
5.
全文 >>> import this
6.
7.
わかりやすいものを例を挙げて紹介する
8.
Beautiful is better
than ugly. きれいなコードを書こう。
9.
Explicit is better
than implicit. はっきり書きなさい。隠さずに。
10.
暗黙の型変換などはダメ 10 + ’l0’
#TypeError 10 + int(’l0’) #20
11.
Simple is better
than complex. むずかしいよりは簡単なほうがいいよ。
12.
Complex is better
than complicated. 複雑であるよりは難解であるほうがいい。
13.
Complex : 問題を細かく分割できる (分割すれば解ける) Complicated
: 問題を細かく分割できない (そもそもムズい)
14.
Flat is better
than nested. ひらべったいコードを書こう
15.
Readability counts. 読みやすいほうがいい!
16.
int main(void) { printf("Hello,
world!n"); return(0); } print("Hello, world!")
17.
Errors should never
pass silently. エラーは隠しちゃダメだよ!
18.
これはダメ!! try: import this except ImportError: pass
19.
If the implementation
is hard to explain, it’s a bad idea. 説明するのが難しいなら、 それは悪いコードだよ。
20.
If the implementation
is easy to explain, it may be a good idea. 説明するのが簡単なら、 それはたぶんいいコードだよ。
21.
Special cases aren’t
special enough to break the rules. 「今回は特別」とか言ってルールを 破っちゃダメだよ!
22.
There should be
one – and preferably only one – obvious way to do it. たったひとつの冴えたやりかたが きっとあるはずなんだ。
Download now