- Using Python as the config language for a Python program
- account_config = __import__(settings.CONFIG_DIR + '.account_name', fromlist=[settings.CONFIG_DIR])
- CONFIG = "some string"
- ANOTHER = [ "some", "list" ]
- MORE = "another value"
- settings = {}
- execfile('the_config.py', settings )
- settings['CONFIG'] == "some string"