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

您现在的位置是:虫虫源码 > Python > Python强大的配置语言

Python强大的配置语言

  • 资源大小:39.32 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: python 语言 配置 强大

资 源 简 介

Coil: A Configuration Library Introduction Coil is a configuration file format that is parsed into a tree of dict like Struct objects. The format supports inheritance, allowing complicated configurations to be as compact as possible. Text Format Coil provides the concept of a struct - an ordered list of key/value pairs. Basic types are True, False, None, integers, floats, unicode strings and lists of basic types. Here we define a single struct: x: { anInt: 1 aFloat: 2.4 aString: "hello" andAList: [1 2 "hello" 4 None] } Whitespace doesn"t matter, so these two are identical: ``` x: {a: 1} x: { a: 1 } > Structs can extends other structs: this means they inherit all> attributes from that struct. Extending is done with a special> attribute, @extends, with a value that is a path to an

文 件 列 表

.
bin
coildump
coil
debian
docs
LICENSE.txt
misc
README.txt
setup.py
TODO.txt
bin

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 杨波 29分钟前 成为了本站会员

  • ZS 59分钟前 成为了本站会员

  • . 1天前 成为了本站会员

  • 奋斗 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • 一天不玩浑身难受 2天前 成为了本站会员

  • Aloha 2天前 成为了本站会员

  • 嘻嘻嘻 2天前 成为了本站会员

  • maihaoweilai 2天前 成为了本站会员

  • 紫麟鹿 2天前 成为了本站会员