python configparser.ConfigParser() I/O issue write code example
Example: how to use config file to remove redundant variables in code
from ConfigParser import SafeConfigParser
parser = SafeConfigParser()
parser.read('simple.ini')
print parser.get('bug_tracker', 'url')