When I type a simple hello world gui with a button that does nothing, the tk window doesn't do what I wanted. I want the window to remain 500 x 500 while there's a small button in the top left. Here's my current simple code:
from tkinter import *
window = Tk()
window.config(height = 500, width = 500) #the window initialize as a 500px x 500px window
button = Button(window, text = 'hello world')
button.pack() #but when I added a button, the window shinks to the size of the button
window.mainloop()
I'm running Mac Sierra with python 3.6. And downloadeded an external tkl as told by the manual.