[glug-t] Re: Module to parse config files

>           Iam writing down a installer for planetplanet ( Feed aggregator)
> and for that purpose i need to parse the config files.Are there any python
> modules to parse these? .I tried using ConfigParser but writing the new
> configuration with the module strips out all my valuable comments that
> exists in the config file already .
> Any other suggestions for parsing config files,preferably in python ?

Seems to be a very valid mis-feature. It is highly unlikely that you will
find a config file library with that feature.

But if you are going to read/write to the config file only through a
UI/program, you wouldn't need comments in them. You could also consider
splitting up the config file into two - one for manually configured
options and another for options configured through your program.

Regards,
Vijay

--
Free the Code, Free the User.
Website: http://www.bravegnu.org


=3D
Electric Beds- Free Info Center
Free Info. All that you want to know about Electric Beds.
http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=3D36904fba733898cea4fbf=
9d379e06275


--=20
Powered by Outblaze
---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with 
'unsubscribe' as subject.

Website: http://glugt.linuxisle.com

Other related posts: