I am trying to make a program which searches for common acronyms which are used in work. I am a beginner to using computer programming and this is my first project. I thought I could use a dictionary of acronyms and then be able to use the entry box to search for the key which would return the associated value for example a search for AKA would return 'Also Known As'
This is my progress so far (Any pointers would be much appreciated):
from tkinter import*
master=Tk()
master.title("The Acronym Search Engine")
master.geometry('300x100')
def return_entry(en):
content=entry.get()
print(content)
acronym_dictionary={"AKA":"Also known as", "OT":"Overtime"}
Label(master, text="Search box:").grid(row=0, sticky=W)
entry=Entry(master)
entry.grid(row=0, column=1)
entry.bind('<Return>', return_entry)
mainloop()