[Tutor] Python and config files?

Basil Shubin bashu at yandex.ru
Fri Oct 27 10:46:25 CEST 2006


Kent Johnson пишет:
> Basil Shubin wrote:
>> Hi, friends!
>>
>> Is there exist a module for working with config file? Simple enough, 
>> just read/write config file (like for most unix app), determine where 
>> row is contain config words with it's parameters (like 
>> 'config_word=parameter') or it's a comments (#)?
> 
> Take a look at the ConfigParser module:
> http://docs.python.org/lib/module-ConfigParser.html

Thanks! Exactly what I need!


-- 
Basil Shubin
Freelance Software Developer


More information about the Tutor mailing list