import pickle


def readFromPickleFile(path_to_file='object.pkl'):
    """
    Load python object from pickle file.
    Returns python object.
    """
    in_file = open(path_to_file, 'rb')
    python_object = pickle.load(in_file)
    return python_object