from tkinter import *
from tkinter import ttk
from PIL import Image, ImageFilter
class learn():
def __init__(self, root):
self.root=root
self.root.title("Hancie e-Learning Studio")
self.root.geometry("500x400")
frame = Frame(self.root)
label = Label(self.root, text="Hello World")
label.pack(padx=5, pady=5)
sizegrip = ttk.Sizegrip(frame)
sizegrip.pack(expand=True, fill=BOTH, anchor=SE)
frame.pack(padx=10, pady=10, expand=True, fill=BOTH)
if __name__=='__main__':
root=Tk()
learn(root)
root.mainloop()
Output