import pickle


def load_pickle(path):
    """
            Read a pickle file and load the pickle element
            :param path: path of the pickle file
            :return: element in the pickle file
    """
    with open(path, 'rb') as filename:
        return pickle.load(filename)