def save_config(dct, f):
    """
    Turn dict of options and values into config file at path f
    """
    try:
        import configparser
    except ImportError:
        import ConfigParser as configparser
    Config = configparser.ConfigParser()
    Config.add_section('Build')
    Config.set('Interrogate', 'Multiprocess', dct.get('multiprocess', False))
    Config.add_section('Interrogate')
    Config.set('Interrogate', 'Multiprocess', dct.get('multiprocess', False))
    Config.add_section('Visualise')
    Config.add_section('Concordance')
    Config.add_section('Manage')
    with open(f, 'w') as cfgfile:
        Config.write(cfgfile)
    return
