{"provider_name":"Hatena Blog","version":"1.0","url":"https://devlights.hatenablog.com/entry/2017/03/18/180549","height":"190","author_url":"https://blog.hatena.ne.jp/gsf_zero1/","description":"\u30b9\u30af\u30ea\u30d7\u30c8\u66f8\u3044\u3066\u3044\u308b\u3068\u3001\u7b49\u5e45\u30d5\u30a9\u30f3\u30c8\u4e0a\u3067\u5168\u89d2\u534a\u89d2\u6df7\u3058\u3063\u305f\u6587\u5b57\u5217\u3092\u30d4\u30b7\u30c3\u3068 \u63c3\u3048\u305f\u3044\u3068\u304d\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002python\u306elen()\u306f\u6587\u5b57\u6570\u3092\u8fd4\u3059\u306e\u3067\u3001\u305d\u308c\u3067\u30a4\u30b1\u30eb\u3068\u601d\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u304c s = 'hello' len(s) 5 # OK s = '\u3053\u3093\u306b\u3061\u308f' len(s) 5 # (\u00b4\u30fb\u03c9\u30fb`) max_width = max(len(s) for s in ['hello world', '\u3053\u3093\u306b\u3061\u308f\u4e16\u754c', 'ABCDE']) print(max_width) 11 for x in ['hello world', '\u3053\u3093\u306b\u3061\u308f\u4e16\u754c', 'ABCDE']: print(f'{x}{\" \" * \u2026","published":"2017-03-18 18:05:49","blog_url":"https://devlights.hatenablog.com/","categories":["python"],"title":"Python\u30e1\u30e2-00 (\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u3092\u8003\u616e\u3057\u305f\u6587\u5b57\u5e45\u3092\u53d6\u5f97)(unicodedata, east_asian_width, multibytes, WF)","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/g/gsf_zero1/20170318/20170318180328.png","provider_url":"https://hatena.blog","author_name":"gsf_zero1","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2017%2F03%2F18%2F180549\" title=\"Python\u30e1\u30e2-00 (\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u3092\u8003\u616e\u3057\u305f\u6587\u5b57\u5e45\u3092\u53d6\u5f97)(unicodedata, east_asian_width, multibytes, WF) - \u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\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>","type":"rich","width":"100%","blog_title":"\u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18"}