import tkinter as tk
master_window = tk.Tk()
master_window.geometry("150x150")
master_window.title("StringVar Example")
string_variable = tk.StringVar(master_window, "Hello Everyone!!")
label = tk.Label(master_window, textvariable=string_variable, height=150)
label.pack()
master_window.mainloop()
#to import tkinter
from tkinter import * #best way
from tkinter import Tk #another way
# By Codexel