Python dict

since 2012-05-08

python の dict 型で phparray_merge みたいなことをやるには?

http://d.hatena.ne.jp/cheeseshop/20090530/1243677621

>>> d = {"a":"b"}
>>> d.update({"c":"d"})
>>> print d
{'a': 'b', 'c': 'd'}

python_dict.txt · 最終更新: 2012/05/08 14:56 by Takuya Nishimoto
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0