{"width":"100%","categories":["python","\u899a\u3048\u66f8\u304d"],"author_url":"https://blog.hatena.ne.jp/bundai223/","title":"Python \u30e1\u30f3\u30d0\u30fc\u5909\u6570\u306e\u5171\u6709","published":"2013-05-15 01:37:41","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbundai223.hatenablog.com%2Fentry%2F20130515%2F1368635861\" title=\"Python \u30e1\u30f3\u30d0\u30fc\u5909\u6570\u306e\u5171\u6709 - bundai223\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>","url":"https://bundai223.hatenablog.com/entry/20130515/1368635861","blog_url":"https://bundai223.hatenablog.com/","height":"190","image_url":null,"author_name":"bundai223","type":"rich","description":"\u6700\u8fd1python\u3092\u52c9\u5f37\u306e\u305f\u3081\u306b\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c \u7d0d\u5f97\u306e\u3044\u304b\u306a\u3044\u3053\u3068\u304c\u3042\u3063\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\u3002 class a: name = '' l = [] def __init__(self, name): self.name = name def Print(self): print name + \":\" for o in l: print str(o) + \" \" hoge = a('hoge') piyo = a('piyo') hoge.l.append(1) hoge.l.append(2) piyo.l.append(9) hoge.Print() piyo.Print() \u4e0a\u8a18\u306e\u51fa\u529b\u2026","blog_title":"bundai223\u306e\u65e5\u8a18","provider_name":"Hatena Blog","version":"1.0"}