tkinter large text label code example
Example 1: tkinter change font family and size of label
from tkinter import *
import tkinter.font as font
gui = Tk(className='Python Examples - Button')
gui.geometry("500x200")
myFont = font.Font(family='Helvetica', size=20, weight='bold')
button = Button(gui, text='My Button', bg='#0052cc', fg='#ffffff')
button['font'] = myFont
button.pack()
gui.mainloop()
Example 2: tkinter label
from Tkinter import *
root = Tk()
var = StringVar()
label = Label( root, textvariable=var, relief=RAISED )
var.set("Hey!? How are you doing?")
label.pack()
root.mainloop()