{"blog_url":"https://yohhoy.hatenadiary.jp/","author_name":"yohhoy","blog_title":"yohhoy\u306e\u65e5\u8a18","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20150105%2Fp1\" title=\"\u6587\u5b57\u5217\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u4e2d\u306e\u5909\u6570\u5c55\u958b - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9ePython\u306b\u304a\u3044\u3066\u3001Perl, PHP\u306e\u5909\u6570\u5c55\u958b\u3084\u3001Ruby\u306e\u5f0f\u5c55\u958b\uff08\u306e\u5909\u6570\u540d\u306e\u307f\uff09\u3092\u30a8\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3002\u5f15\u6570\u306a\u3057vars\u95a2\u6570\u306e\u4ee3\u308f\u308a\u306blocals\u95a2\u6570\u3067\u3082OK\u3002 a = 42 b = \"abc\" print(\"a={a}, b={b}\".format(**vars())) # \u51fa\u529b: a=42, b=abc \u95a2\u9023URL string - Python: is using \"..%(var)s..\" % locals() a good practice? - Stack Overflow Python 3.4 \u7d44\u307f\u8fbc\u307f\u95a2\u6570","published":"2015-01-05 00:00:00","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/yohhoy/","version":"1.0","image_url":null,"height":"190","categories":["Python"],"url":"https://yohhoy.hatenadiary.jp/entry/20150105/p1","title":"\u6587\u5b57\u5217\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u4e2d\u306e\u5909\u6570\u5c55\u958b","width":"100%","provider_name":"Hatena Blog"}