global_config.py

Depending on how you look at this it's either an elegant hack or an ugly hack.

This loads a bunch of values from a config file into the global variable space.

from ConfigParser import SafeConfigParser as ConfigParser

config = ConfigParser()
config.read('/some/config/file/here')
for sections in config.sections():
    for key, value in config.items(section):
        globals()[key] = value