from tkinter import *

window = Tk()
window.title("My glossary")
window.geometry("500x500") # default size

#label = Label(window, text="text")
#label.pack()

#Label(window, text="text").grid(row=0, column=0,\
#                                sticky=W)

label = Label(window, text="text")
label.grid(row=0, column=0, sticky=W)

window.mainloop()
0d5f99f622280009a7befa05425219b8ad28c769
<mask token>

<mask token>
window.title('My glossary')
window.geometry('500x500')
<mask token>
label.grid(row=0, column=0, sticky=W)
window.mainloop()

<mask token>
window = Tk()
window.title('My glossary')
window.geometry('500x500')
label = Label(window, text='text')
label.grid(row=0, column=0, sticky=W)
window.mainloop()

from tkinter import *
window = Tk()
window.title('My glossary')
window.geometry('500x500')
label = Label(window, text='text')
label.grid(row=0, column=0, sticky=W)
window.mainloop()

from tkinter import *

window = Tk()
window.title("My glossary")
window.geometry("500x500") # default size

#label = Label(window, text="text")
#label.pack()

#Label(window, text="text").grid(row=0, column=0,\
#                                sticky=W)

label = Label(window, text="text")
label.grid(row=0, column=0, sticky=W)

window.mainloop()