View Single Post
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#2
Originally Posted by rambo View Post
I can do this in python via the ConfigParser module, but it will strip all comments when writing the modified file (which is kind of obvious and I was expecting it to happen), this is undesirable
Also it seems ConfigParser rewrites the variable (not section) names to lowercase, this is potentially fatal...

So unless someone has made such a tool already it seems I will have to write one.
__________________
  • Live near Helsinki, Finland & interested in electronics ? Check this out.
  • Want anti-virus/firewall ? Read this (and follow the links, also: use the search, there are way too many threads asking the same questions over and over and over again).
  • I'm experimenting with BitCoins, if you want to tip me send some to: 1CAEy7PYptSasN67TiMYM74ELDVGZS6cCB