Mega Code Archive
Categories
/
Python
/
GUI Tk
Set expand to YES and fill to BOTH
from Tkinter import * Label(text='Hello GUI world!').pack(expand=YES, fill=BOTH) mainloop()