using names before they're defined

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Mon Jul 24 16:59:59 EDT 2006


davehowey at f2s.com a écrit :
>>>First case is a little shorter but then you have to use a parser for it
>>
>>There's one builtin.
> 
> 
> do you mean 'configparser'? 

Yes.

> I'm just trying to figure out how this
> works. 

One nice thing with Python is the interactive python shell. It makes 
exploring a package a breeze.

> Does it generate objects from the config file automatically?

It generates a representation of the config file as a Python object 
composed of sections and options. The documentation should get you started.




More information about the Python-list mailing list