Here in this blog we are going to make the window where we can send all the data from the list to the treeview form. here is the following codes from tkinter import * from tkinter import ttk import sqlite3 root = Tk () root . geometry ( "500x600" ) #add some stylr style = ttk . Style () #Pick a theme style . theme_use ( "default" ) style . configure ( "Treeview" , background = "white" , foreground = "black" , rowheight = 25 , fieldbackground = "white" ) #change selected colour style . map ( 'Treeview' , background =[( 'selected' , 'blue' )]) #create treeview frame tree_frame = Frame ( root ) tree_frame . pack ( pady = 20 ) #treeview scrollbar tree_scroll = Scrollbar ( tree_frame ) tree_scroll . pack ( side = RIGHT , fill = Y ) #Create treeview my_tree = ...