
import tkinter as tk
my_w = tk.Tk()
my_w.geometry("400x150") # Size of the window
copyright = u"\u00A9"
registered = u"\u00AE"
trademark = u"\u2122" # TM
horse = u"\u265E" #horse
font1=('Times',30,'bold')
l1=tk.Label(my_w,text=copyright + ' www.plus2net.com',font=font1)
l1.grid(row=1,column=1,padx=10,columnspan=3)
l2=tk.Label(my_w,text=registered,font=font1) # footer messages
l2.grid(row=2,column=1,padx=4,pady=10)
l3=tk.Label(my_w,text=trademark,font=font1) # footer messages
l3.grid(row=2,column=2,padx=4)
l4=tk.Label(my_w,text=horse,font=font1) # footer messages
l4.grid(row=2,column=3,padx=4)
my_w.mainloop() # Keep the window open

import tkinter as tk
my_w = tk.Tk()
my_w.geometry("410x250") # Size of the window
copyright=u"\u00A9"
registered=u"\u00AE"
trademark=u"\u2122"
horse=u"\u265E"
hands=u"\U0001f64f"
face1=u"\U0001F601"
face2=u"\U0001F923"
face3=u"\U0001F911"
font1=('times',30,'normal')
l1=tk.Label(my_w,text=copyright+' www.plus2net.com',font=font1)
l1.grid(row=1,column=1,padx=5,columnspan=4)
l2=tk.Label(my_w,text=registered,font=font1,fg='green')
l2.grid(row=2,column=1,padx=5)
l3=tk.Button(my_w,text=trademark,font=font1)
l3.grid(row=2,column=2,padx=5)
l4=tk.Button(my_w,text=horse,font=font1,fg='red')
l4.grid(row=2,column=3,padx=5)
l5=tk.Label(my_w,text=hands,font=font1,fg='red')
l5.grid(row=3,column=1,padx=5)
l6=tk.Label(my_w,text=face1,font=font1,fg='green')
l6.grid(row=3,column=2,padx=5)
l7=tk.Label(my_w,text=face2,font=font1,fg='blue')
l7.grid(row=3,column=3,padx=5)
l8=tk.Label(my_w,text=face3,font=font1,fg='green')
l8.grid(row=3,column=4,padx=5)
my_w.mainloop() # Keep the window open
Image in Tkinter
Resizing image using PIL
Upload and display image file
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.