{"id":38115,"date":"2016-10-22T22:32:23","date_gmt":"2016-10-23T03:32:23","guid":{"rendered":"http:\/\/sierrablogsite.wordpress.com\/?p=497"},"modified":"2016-10-22T22:32:23","modified_gmt":"2016-10-23T03:32:23","slug":"zen-of-python-9","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/zen-of-python-9\/","title":{"rendered":"Zen of python!"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"https:\/\/sierrablogsite.wordpress.com\/2016\/10\/23\/zen-of-python\/\"><a href=\"https:\/\/sierrablogsite.wordpress.com\">Sierra&amp;#039;s Blog<\/a><\/a><\/em><br \/><\/p>\n<p>The zen of python is a list of principles to make your code look better, I recommend you to stick to it because it will help you making your code more understandable and simple, these are the rules which I took from this page: <a href=\"https:\/\/www.python.org\/dev\/peps\/pep-0020\/\" rel=\"nofollow\">https:\/\/www.python.org\/dev\/peps\/pep-0020\/<\/a><\/p>\n<pre class=\"literal-block\">Beautiful is better than ugly.\nExplicit is better than implicit.\nSimple is better than complex.\nComplex is better than complicated.\nFlat is better than nested.\nSparse is better than dense.\nReadability counts.\nSpecial cases aren't special enough to break the rules.\nAlthough practicality beats purity.\nErrors should never pass silently.\nUnless explicitly silenced.\nIn the face of ambiguity, refuse the temptation to guess.\nThere should be one-- and preferably only one --obvious way to do it.\nAlthough that way may not be obvious at first unless you're Dutch.\nNow is better than never.\nAlthough never is often better than *right* now.\nIf the implementation is hard to explain, it's a bad idea.\nIf the implementation is easy to explain, it may be a good idea.\nNamespaces are one honking great idea -- let's do more of those!<\/pre>\n<p><a title=\"yoga\" href=\"https:\/\/www.flickr.com\/photos\/seniju\/15915811072\/in\/photolist-qfqG8J-nXiEeo-nkDLty-8Ma3d2-njoz8b-nBf9PQ-njpchY-nBVwkC-bXZMv5-nqiYZW-nD335t-c9Td5Y-okZRxV-nDjj4o-4xH7cC-nmdhpb-nCtUaf-nC9EfT-nDjjn9-7J9Mmm-fsK56b-5RUFDw-BsyhK-4MZgC6-fsKbUf-nDjYdR-ojfqvh-nD7cxE-nBVgL7-e7YAGp-fsvaw2-iNrKmc-cTYijy-6EoD9s-mK3bo-5MNAAh-fsv5gR-fsuumK-fsJX4S-fsJxXY-fsJTsG-fsJDFE-fsuFyV-fsJKVC-fsuo1B-fsJwd1-fsuZDv-aK3BX-om5ttN-8GCMFc\"><img class=\"\" src=\"https:\/\/c1.staticflickr.com\/8\/7541\/15915811072_482ce9af1c_b.jpg\" alt=\"yoga\" width=\"435\" height=\"579\" \/><\/a><\/p><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/sierrablogsite.wordpress.com\/497\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/sierrablogsite.wordpress.com\/497\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=sierrablogsite.wordpress.com&#038;blog=115557456&%23038;post=497&%23038;subd=sierrablogsite&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at Sierra&amp;#039;s Blog The zen of python is a list of principles to make your code look better, I recommend you to stick to it because it will help you making your code more understandable and simple, these are the rules which I took from this page: https:\/\/www.python.org\/dev\/peps\/pep-0020\/ Beautiful is better than ugly. &hellip; <a href=\"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/zen-of-python-9\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Zen of python!<\/span><\/a><\/p>\n","protected":false},"author":58,"featured_media":38116,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[26],"class_list":["post-38115","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-sin-categoria"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/users\/58"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/comments?post=38115"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38115\/revisions"}],"predecessor-version":[{"id":38117,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38115\/revisions\/38117"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media\/38116"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=38115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=38115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=38115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}