Mega Code Archive

 
Categories / Python / GUI Tk
 

Simplest Label

from Tkinter import * root = Tk() labelfont = ('times', 20, 'bold')                  # family, size, style widget = Label(root, text='Hello config world') widget.pack(expand=YES, fill=BOTH) root.mainloop()