{"id":1692,"date":"2019-03-03T14:48:44","date_gmt":"2019-03-03T13:48:44","guid":{"rendered":"https:\/\/pythonprogramming.altervista.org\/?p=1692"},"modified":"2019-03-03T14:49:59","modified_gmt":"2019-03-03T13:49:59","slug":"write-dictionary-easily-in-python","status":"publish","type":"post","link":"https:\/\/pythonprogramming.altervista.org\/write-dictionary-easily-in-python\/","title":{"rendered":"Write Dictionary easily in Python"},"content":{"rendered":"<p><a href=\"https:\/\/pythonprogramming.altervista.org\/wp-content\/uploads\/2019\/03\/easyDict.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1693\" src=\"https:\/\/pythonprogramming.altervista.org\/wp-content\/uploads\/2019\/03\/easyDict.png\" alt=\"\" width=\"619\" height=\"310\" srcset=\"https:\/\/pythonprogramming.altervista.org\/wp-content\/uploads\/2019\/03\/easyDict.png 619w, https:\/\/pythonprogramming.altervista.org\/wp-content\/uploads\/2019\/03\/easyDict-320x160.png 320w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/a><\/p>\n<p>Let&#8217;s save some time writing dictionaries, that are the equivalent of objects in javascript.<\/p>\n<p><iframe loading=\"lazy\" title=\"Write keys and values in a dictionary in Python easily\" width=\"747\" height=\"420\" src=\"https:\/\/www.youtube.com\/embed\/DBKJXhAd9cY?feature=oembed&amp;enablejsapi=1\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><a href=\"https:\/\/pythonprogramming.altervista.org\/wp-content\/uploads\/2019\/03\/easyDict.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1693\" src=\"https:\/\/pythonprogramming.altervista.org\/wp-content\/uploads\/2019\/03\/easyDict.png\" alt=\"\" width=\"619\" height=\"310\" srcset=\"https:\/\/pythonprogramming.altervista.org\/wp-content\/uploads\/2019\/03\/easyDict.png 619w, https:\/\/pythonprogramming.altervista.org\/wp-content\/uploads\/2019\/03\/easyDict-320x160.png 320w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Easily create dictionaries in Python\n<a class=\"moretag\" href=\"https:\/\/pythonprogramming.altervista.org\/write-dictionary-easily-in-python\/\"> [...]<\/a>","protected":false},"author":1,"featured_media":1693,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[329],"tags":[],"class_list":["post-1692","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dictionary"],"avopt_banners_inside_post":true,"avopt_banners_on_page":true,"av_copy_from":"","av_sharing_message":"","av_sharing_allowed":false,"av_sharing_on":{"fb":[],"tw":[]},"av_allow_affiliate_banner":false,"av_allow_affiliate_multi_banner":false,"av_show_affiliation_buy_button":false,"av_post_rating":true,"av_have_post_rating_value":false,"av_is_artificial_intelligence_content":false,"_links":{"self":[{"href":"https:\/\/pythonprogramming.altervista.org\/wp-json\/wp\/v2\/posts\/1692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pythonprogramming.altervista.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pythonprogramming.altervista.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pythonprogramming.altervista.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pythonprogramming.altervista.org\/wp-json\/wp\/v2\/comments?post=1692"}],"version-history":[{"count":1,"href":"https:\/\/pythonprogramming.altervista.org\/wp-json\/wp\/v2\/posts\/1692\/revisions"}],"predecessor-version":[{"id":1694,"href":"https:\/\/pythonprogramming.altervista.org\/wp-json\/wp\/v2\/posts\/1692\/revisions\/1694"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pythonprogramming.altervista.org\/wp-json\/wp\/v2\/media\/1693"}],"wp:attachment":[{"href":"https:\/\/pythonprogramming.altervista.org\/wp-json\/wp\/v2\/media?parent=1692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pythonprogramming.altervista.org\/wp-json\/wp\/v2\/categories?post=1692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pythonprogramming.altervista.org\/wp-json\/wp\/v2\/tags?post=1692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}