from tkinter import * top = Tk() top.title("Aimtocode") var = StringVar() msg = Message( top, text = "Welcome to Aimtocode, You are learning Python GUI") msg.pack() top.mainloop()