from tkinter import *
window = Tk()
window.geometry("720x480")
window.title("Tkinter Label Example.")
lable = Label(window,text = '''It's me Rakshit. I'm a computer science student.\nThis is tkinter Lable example.''',
bg='yellow')
lable.pack(padx=40,pady=40) # It's necessary other wise it'll not show.
lable = Label(window,text = '''It's me Rakshit. I'm a computer science student.\nThis is tkinter Lable example.''',
bg='yellow')
lable.pack(padx=30,pady=40)
window.mainloop()
Comments
Post a Comment
If you've any doubts, please let me text