import configparser


def get_config(path):
    """
    Getting configuration file

    path - path to config file
    """
    config = configparser.ConfigParser()
    config.read(path)
    return config