It looks like you're using a local module to manage your settings; I'd probably use ConfigParser and an .ini file instead.