ANN:Dict4Ini 0.3 released!

limodou limodou at gmail.com
Fri Dec 9 15:59:52 CET 2005


This module is used to process ini format configuration file. It acts
just like a dict, but you can also access it's sections and options
with attribute syntax, just like x.test.

== What's it features ==

 * as simple as others
 * you can access options according to dict syntax, just like
x['name']['o'] = 1, x['name'].keys(), x['name'].values(), etc.
 * you also can access options according to attr syntax, just like
x.name.o = 1, x.name.keys(), x.name.values(), etc. So the name must be
Identifier or single word.
 * you can save comments in it(but this feature is not tested so much)
 * support multi level section, subsection name will just like: [firsub/secsub]
 * can save config items order
 * support multi data types: string, unicode, int, float, list/tuple,
dict, etc, you can save them to or regain them from config file
 * can convert to dict '''new'''
 * It's a little module, just for my mind, so if you like, you could
try it, but if you don't like, just skip it, that's ok

== Where can I download it? ==

 * Visit the http://wiki.woodpecker.org.cn/moin/Dict4Ini site
 * Download it from here attachment:dict4ini.py

== What's new? ==
 * 2005/12/09 Version 0.3
  * Adding dict() method, then you can change the DictIni object to
dict type, so you can really use it as a dict alternative

--
I like python!
My Blog: http://www.donews.net/limodou
NewEdit Maillist: http://groups.google.com/group/NewEdit


More information about the Python-announce-list mailing list