Python conventions (Zen of Python)<\/span><\/strong><\/p>\n The philosophy of Python\u00a0is summarized by the document “PEP 20 (The Zen of Python)”<\/span><\/p>\n The Zen of Python<\/a><\/strong><\/p>\n Beautiful is better than ugly.<\/p>\n Explicit is better than implicit.<\/p>\n Simple is better than complex.<\/p>\n Complex is better than complicated.<\/p>\n Flat is better than nested.<\/p>\n Sparse is better than dense.<\/p>\n Readability counts.<\/p>\n Special cases aren’t special enough to break the rules.<\/p>\n Although practicality beats purity.<\/p>\n Errors should never pass silently.<\/p>\n Unless explicitly silenced.<\/p>\n In the face of ambiguity, refuse the temptation to guess.<\/p>\n There should be one– and preferably only one –obvious way to do it.<\/p>\n Although that way may not be obvious at first unless you’re Dutch.<\/p>\n Now is better than never.<\/p>\n Although never is often better than *right* now.<\/p>\n If the implementation is hard to explain, it’s a bad idea.<\/p>\n If the implementation is easy to explain, it may be a good idea.<\/p>\n Namespaces are one honking great idea — let’s do more of those!<\/p>\n \u00a0<\/p>\n #Mastery<\/a>08 #TC<\/a>1014<\/p>\n \u00a0<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":" Python conventions (Zen of Python)<\/span><\/strong><\/p>\n The philosophy of Python is summarized by the document “PEP 20 (The Zen of Python)”<\/span><\/p>\n The Zen of Python<\/a><\/strong><\/p>\n Beautiful is better than ugly.<\/p>\n Explicit is better than implicit.<\/p>\n Simple is better than complex.<\/p>\n Complex is better than complicated.<\/p>\n Flat is better than nested.<\/p>\n Sparse is better than dense.<\/p>\n Readability counts.<\/p>\n Special cases aren’t special enough to break the rules.<\/p>\n Although practicality beats purity.<\/p>\n Errors should never pass silently.<\/p>\n Unless explicitly silenced.<\/p>\n In the face of ambiguity, refuse the temptation to guess.<\/p>\n There should be one– and preferably only one –obvious way to do it.<\/p>\n Although that way may not be obvious at first unless you’re Dutch.<\/p>\n Now is better than never.<\/p>\n Although never is often better than *right* now.<\/p>\n If the implementation is hard to explain, it’s a bad idea.<\/p>\n If the implementation is easy to explain, it may be a good idea.<\/p>\n Namespaces are one honking great idea — let’s do more of those!<\/p>\n <\/p>\n #Mastery<\/a>08 #TC<\/a>1014<\/p>\n <\/span><\/p>\n<\/div>\n