import pickle


def load_obj(name ):
    """
    Loads Python object from file. File in web_map/data_obj.
    :param name: sting with the name of file to load object from.
    :return: python object from file
    """
    with open('data_obj/' + name + '.pkl', 'rb') as f:
        return pickle.load(f)