The Zen of Python, decoded.

The Zen of Python, decoded.

Indian Pythonista

5 лет назад

9,787 Просмотров

The "Zen of Python" is an amazing poem written by Tim Peters. It is a collection of 20 software principles which guide the design of Python Programming Language.

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!

------------------------------------------------------------

Explore my tutorials: https://nikhilkumarsingh.github.io/tutorials/

More awesome topics covered here:
WhatsApp Bot using Twilio and Python : https://tinyurl.com/y9n9ott5
Serverless Rest API using AWS and Python : https://tinyurl.com/y8yg4vem
Creating Chat Application using Flask, Socket.IO & mongoDB : https://tinyurl.com/y8kbn4xu
Curses in Python : https://tinyurl.com/y8ws3x4l
Discovering Hidden APIs : https://tinyurl.com/y7sdegoq
RegEx in Python : https://tinyurl.com/y84cnuns
Python for Data Science : https://tinyurl.com/yd7x6j5e
Introduction to Pandas : https://tinyurl.com/ycr4qytt
Introduction to Matplotlib : https://tinyurl.com/y8caem3r
Introduction to Numpy : https://tinyurl.com/yc8uhtn9
Functional Programming in Python : https://tinyurl.com/ybubzum6
Python Package Publishing : https://tinyurl.com/ya2fn3wb
Multithreading in Python : https://tinyurl.com/ycnummb8
Multiprocessing in Python : https://tinyurl.com/y8qkjqtx
Parallel Programming in Python : https://tinyurl.com/yakl5udt
Concurrent Programming in Python : https://tinyurl.com/y9ppkkhc
Dataclasses in Python : https://tinyurl.com/y8zfqleq
Exploring YouTube Data API : https://tinyurl.com/y7jhs8rm
Just For Fun : https://tinyurl.com/y9on8gb5
Exploring AWS : https://tinyurl.com/ydxmhhz9
Jupyter Notebook (Tips, Tricks and Hacks) : https://tinyurl.com/y8qdhcrp
Decorators in Python : https://tinyurl.com/y7ghraa9
Inside Python : https://tinyurl.com/yd8xqbjj
Exploring datetime : https://tinyurl.com/y96jzylm
Collections in Python : https://tinyurl.com/ybxltgvk
Networking : https://tinyurl.com/y97eroql
Computer Vision for noobs : https://tinyurl.com/y8pxz436
Python for web : https://tinyurl.com/y829py3g
Awesome Linux Terminal : https://tinyurl.com/y8no3zso
Intermediate Python : https://tinyurl.com/yasmecaw
Tips, tricks, hacks and APIs : https://tinyurl.com/y9xqzzl4
Optical Character Recognition : https://tinyurl.com/ybt3to6q
Facebook Messenger Bot Tutorial : https://tinyurl.com/y9wvjc9g


Facebook: https://www.facebook.com/IndianPythonista
Github: https://www.github.com/nikhilkumarsingh
Twitter: https://twitter.com/nikhilksingh97

------------------------------------------------------------

#python #import #this
Ссылки и html тэги не поддерживаются


Комментарии: