def selectable_locations_dict(): selectable_locations_dict = locations() paths = [] for location in selectable_locations_dict: if location[:4] == "path": paths.append(location) for path in paths: del selectable_locations_dict[path] return selectable_locations_dict
def selectable_locations_dict(): """ Returns the locations dictionary from locations_name, excluding the values that are a path. (Will be the locations that the user can select) """ selectable_locations_dict = locations() paths = [] for location in selectable_locations_dict: if location[: 4] == "path": # All of the path locations begin with "path_..."" paths.append(location) for path in paths: del selectable_locations_dict[path] return selectable_locations_dict
def all_locations_dict(): all_locations_dict = locations() return all_locations_dict
def all_locations_dict(): """ Returns the locations dictionary from locations_name. """ all_locations_dict = locations() return all_locations_dict