1
class Config(dict):
2
def __init__(self, fname):
3
with open(fname) as f:
4
data = f.read()
5
exec(data, dict(), self)
6