首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 对于嵌套词典多层次的defaultdict延伸

对于嵌套词典多层次的defaultdict延伸

资 源 简 介

nested_dict is a python library which extends collections.defaultdict to allow dictionaries with multiple levels of nesting to be created on the fly: ``` from nested_dict import * nd = nested_dict() nd["a"]["b"]["c"] = 311 nd["d"]["e"] = 311 ``` Each nested level is create magically when accessed, a process known as “auto-vivification” in perl. Documentation is available on google code or at http://wwwfgu.anat.ox.ac.uk/~lg/oss/nested_dict/ # Installation # Run easy_install -U nested_dict or download source and run ./setup.py install

文 件 列 表

nested_dict-1.0.9
nested_dict.egg-info
ez_setup.py
ez_setup.pyc
nested_dict.py
setup.py
PKG-INFO
setup.cfg

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP