from tkinter import *
window = Tk() # Create instance
window.title("This is the window title!!!") # Add a title
from tkinter import *
import time
import random
Main_screen = Tk()
#Register = Tk()
Main_screen.title("Log in screen")# this code is used to set the title of the widget
Main_screen.geometry("500x500")
Label(Main_screen,text="Welcome").pack()
Main_screen.mainloop()
# To change the window title in Tkinter, do the following:
from tkinter import * # we import everyhting from tkinter
window = Tk() # creates a window
window.title("My Tkinter Window") # this will change the name of the window
window.geometry("300x200") # the size of the window
# This was basic Tkinter. Hope you found it useful!
# By Codexel
import tkinter as tk #import module
window = tk.Tk()
window.title("Example Title!") #set title to anything
window.mainloop() #make the window