def put_conferences(conferences): """ makes DB Conference objects, associating them with their person Keyword arguments: person_handle -- person that owns these courses conferences -- list of courses to associate person with no return """ l = [] for conference in conferences: conf = conference.find('conference') date = get_text(conf.find('date')) name = get_text(conf.find('name')) conf_location = get_text(conf.find('conf_location')) presentation_title = get_text(conference.find('presentation_title')) conference = Faculty4.addConference(name, date, conf_location) l.append(Faculty4.addPresentation(presentation_title, conference)) return l