{"id":35558,"date":"2019-07-05T09:01:42","date_gmt":"2019-07-05T09:01:42","guid":{"rendered":"https:\/\/www.cryptocabaret.com\/?p=35558"},"modified":"2019-07-05T09:01:42","modified_gmt":"2019-07-05T09:01:42","slug":"learn-object-oriented-programming-with-python","status":"publish","type":"post","link":"https:\/\/www.cryptocabaret.com\/?p=35558","title":{"rendered":"Learn object-oriented programming with Python"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" typeof=\"foaf:Image\" src=\"https:\/\/www.cryptocabaret.com\/wp-content\/uploads\/2019\/07\/code_development_programming.png\" width=\"520\" height=\"292\" alt=\"Developing code.\" title=\"Developing code.\"><\/p>\n<p>In my previous article, I explained how to <a href=\"https:\/\/opensource.com\/article\/19\/6\/get-modular-python-functions\">make Python modular<\/a> by using functions, creating modules, or both. Functions are invaluable to avoid repeating code you intend to use several times, and modules ensure that you can use your code across different projects. But there&#8217;s another component to modularity: the class.<\/p>\n<p><a href=\"https:\/\/opensource.com\/article\/19\/7\/get-modular-python-classes\">read more<\/a><br \/><ins class=\"adbladeads\" data-cid=\"24663-3514371590\" data-host=\"web.adblade.com\" data-tag-type=\"4\" style=\"display:none\"><\/ins><br \/>\n<script async src=\"http:\/\/web.adblade.com\/js\/ads\/async\/show.js\" type=\"text\/javascript\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my previous article, I explained how to make Python modular by using functions, creating modules, or both. Functions are invaluable to avoid repeating code you intend to use several times, and modules ensure that you can use your code across different projects. But there&#8217;s another component to modularity: the class. read more<\/p>\n","protected":false},"author":1,"featured_media":35559,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[307],"tags":[],"class_list":["post-35558","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source"],"_links":{"self":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/35558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35558"}],"version-history":[{"count":0,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/35558\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/media\/35559"}],"wp:attachment":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}