Possible Duplicate:
How to use variables already defined in ConfigParser
For example, I have the following config file:
[Sec1]
opt1 = 1
[Sec2]
opt2 = 1
I want to set opt2
equal to opt1
explicitly, so that if I update opt1
later, opt2
will be updated as well.
But I cannot find a way to do it.