/usr/lib/python2.6/site-packages/iniparse
Edit: /usr/lib/python2.6/site-packages/iniparse/ini.pyo (20188B)
Ñò
‡«Ic @ s1 d Z d d k Z d d k l Z l Z l Z d d k Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ
d
e f d „ ƒ YZ d e f d
„ ƒ YZ d e f d „ ƒ YZ
d e f d „ ƒ YZ d d „ Z d e i f d „ ƒ YZ d „ Z d „ Z d „ Z d e i f d „ ƒ YZ d S( s” Access and/or modify INI files
* Compatiable with ConfigParser
* Preserves order of sections & options
* Preserves comments/blank lines/etc
* More conveninet access to data
Example:
>>> from StringIO import StringIO
>>> sio = StringIO('''# configure foo-application
... [foo]
... bar1 = qualia
... bar2 = 1977
... [foo-ext]
... special = 1''')
>>> cfg = INIConfig(sio)
>>> print cfg.foo.bar1
qualia
>>> print cfg['foo-ext'].special
1
>>> cfg.foo.newopt = 'hi!'
>>> print cfg
# configure foo-application
[foo]
bar1 = qualia
bar2 = 1977
newopt = hi!
[foo-ext]
special = 1
iÿÿÿÿN( t DEFAULTSECTt ParsingErrort MissingSectionHeaderErrort LineTypec B s5 e Z d Z d d „ Z d „ Z d „ Z d „ Z RS( c C s' | d j o | i d ƒ | _ n d S( Ns
( t Nonet stript line( t selfR ( ( s0 /usr/lib/python2.6/site-packages/iniparse/ini.pyt __init__0 s
c C s&