{"image_url":null,"categories":["Python"],"height":"190","url":"https://methane.hatenablog.jp/entry/20091017/1255782389","title":" Python2.x\u3067\u306f __str__ \u304c unicode \u3092\u8fd4\u3057\u3066\u3082\u826f\u3044","width":"100%","version":"1.0","provider_name":"Hatena Blog","blog_title":"methane\u306e\u30d6\u30ed\u30b0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmethane.hatenablog.jp%2Fentry%2F20091017%2F1255782389\" title=\" Python2.x\u3067\u306f __str__ \u304c unicode \u3092\u8fd4\u3057\u3066\u3082\u826f\u3044 - methane\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://methane.hatenablog.jp/","author_name":"methane","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/methane/","description":"\u30bd\u30fc\u30b9\u306f\u3053\u308c: http://mail.python.org/pipermail/python-dev/2006-December/070238.html\u4f8b\u3048\u3070\u30d1\u30b9\u3092wrap\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308b\u3068\u304d\u306b\u3001\u30d1\u30b9\u3092unicode\u3067\u6271\u3046\u306e\u3067\u3042\u308c\u3070\u3001\u305d\u306e\u6587\u5b57\u5217\u8868\u73fe\u3082unicode\u306b\u3057\u305f\u3044\u3002 \u305d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u6587\u5b57\u5217\u8868\u73fe\u3092\u4e0e\u3048\u308b\u3068\u3059\u308b\u3068 class FooPath(object): def __init__(self, path): self.path = path def __str__(self): return \"FooPath('%s')\" % (self.path,) self.path \u304c \u2026","published":"2009-10-17 21:26:29"}