# Author: Xu Wang # Email: [email protected] # # Filename: retrieve_publications.py # # from database import Publications from journal import * PublicationsTable = Publications() # retrieve journals # publication_type = 'Journals & Magazines' # for number, name in all_journal_titles(): # print(name, number) # PublicationsTable.add_publication_title_type_number(name, # publication_type, # number) # retrieve conferences publication_type = 'Conferences' for number, name in all_conference_titles(): print(name, number) PublicationsTable.add_publication_title_type_number(name, publication_type, number)