# from tkinter import *

# imaginary_tech_root = Tk()

# imaginary_tech_root.geometry("500x400")
# imaginary_tech_root.minsize(500,400)
# imaginary_tech_root.maxsize(500,400)


# imaginary_tech_root.mainloop()

# massage = Label(text="hello this is massage for you...")
# massage.pack()



# from tkinter import *


# top = Tk()
# top.geometry("450x300")
   
# # the label for user_name
# user_name = Label(top,
#               text = "Username").place(x = 40,
#                                       y = 60)
   
# # the label for user_password
# user_password = Label(top,
#                   text = "Password").place(x = 40,
#                                           y = 100)
   
# submit_button = Button(top,
#                   text = "Submit").place(x = 40,
#                                           y = 130)
   
# user_name_input_area = Entry(top,
#                           width = 30).place(x = 110,
#                                           y = 60)
   
# user_password_entry_area = Entry(top,
#                               width = 30).place(x = 110,
#                                               y = 100)
   
# top.mainloop()




import tkinter as tk
from tkinter.ttk import Label

root = tk.Tk()
root.geometry('300x200')
root.resizable(False, False)
root.title('Label Widget Demo')

# show a label
label = Label(text='This is a label')
label.pack()

root.mainloop()

Comments