The module acts just like a dict, but can access it's sections and options with attribute syntax, just like x.test.
Features:
- As simple as others
- Can access options according to dict syntax, just like x'name''o' = 1, x'name'.keys(), x'name'.values(), etc.
- 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.
- Can save comments (but this feature is not tested)
- 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, can save them to or regain them from config file
- Can convert to dict '''new'''
- Auto detect BOM of utf-8 file '''new'''
- Can encrypt or encode in base64 specified sections
What is new in this release:
- Using 2to3 convert the source code
- Fixed original str and unicode calls, remove unicode calls, and remove encoding processes
- Removed encrypt processes
- Fixed some syntax bugs, make it more pythonic
- If you want to use dict4ini in python3, you should import dict4ini3 module instead.
What is new in version 0.9.7:
- Fixed bug.
Comments not found