import pickle


def load_pickle(load_path):
    """
    Loads a .pickle file as dictionary.

    Args:
        load_path (str): path to .pkl file.

    Returns:
        (dict): dictionary.
    """

    with open(load_path, 'rb') as f:
        pickle_to_load = pickle.load(f)
    return pickle_to_load