{"provider_url":"https://hatena.blog","url":"https://www.shigemk2.com/entry/2018/05/29/194240","blog_url":"https://www.shigemk2.com/","provider_name":"Hatena Blog","categories":["Python"],"height":"190","type":"rich","published":"2018-05-29 19:42:40","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u8ffd\u3063\u304b\u3051\u3066\u3082\u539f\u56e0\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u3051\u3069\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8aad\u3093\u3060\u3089\u306a\u3093\u3068\u306a\u304f\u308f\u304b\u3063\u305f >>> a = \"{} {'alpha': 1234, 'omega': 5678}\".format(\"test\") Traceback (most recent call last): File \"<stdin>\", line 1, in <module> KeyError: \"'alpha'\" >>> a = \"{} {{'alpha': 1234, 'omega': 5678}}\".format(\"test\") >>> a \"test {'alpha': 1234, 'omega': 5678\u2026","title":"Python KeyError in format","blog_title":"by shigemk2","image_url":null,"author_name":"shigemk2","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2018%2F05%2F29%2F194240\" title=\"Python KeyError in format - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/shigemk2/","width":"100%"}