আমাদের বিবেচনা করা যাক যে আমরা Tkinter-এ Listbox পদ্ধতি ব্যবহার করে একটি তালিকাবক্স তৈরি করেছি এবং আমরা এই তালিকা থেকে একাধিক নির্বাচিত আইটেমগুলিকে সরিয়ে দিতে চাই৷
তালিকাবক্স থেকে একাধিক তালিকা নির্বাচন করার জন্য, আমরা selectmode ব্যবহার করব একাধিক হিসাবে . এখন তালিকার উপর পুনরাবৃত্তি করে, আমরা কিছু বোতাম ব্যবহার করে ডিলিট অপারেশন করতে পারি।
উদাহরণ
#Import the required libraries
from tkinter import *
#Create an instance of tkinter frame or window
win= Tk()
#Set the geometry
win.geometry("700x400")
#Create a text Label
label= Label(win, text="Select items from the list", font= ('Poppins bold', 18))
label.pack(pady= 20)
#Define the function
def delete_item():
selected_item= my_list.curselection()
for item in selected_item[::-1]:
my_list.delete(item)
my_list= Listbox(win, selectmode= MULTIPLE)
my_list.pack()
items=['C++','java','Python','Rust','Ruby','Machine Learning']
#Now iterate over the list
for item in items:
my_list.insert(END,item)
#Create a button to remove the selected items in the list
Button(win, text= "Delete", command= delete_item).pack()
#Keep Running the window
win.mainloop() আউটপুট
উপরের কোডটি চালানোর ফলে নিম্নলিখিত আউটপুট −
উৎপন্ন হবে 
এখন, আপনি তালিকাবক্সে একাধিক এন্ট্রি নির্বাচন করতে পারেন এবং তালিকা থেকে সেই এন্ট্রিগুলি সরাতে "মুছুন" বোতামে ক্লিক করতে পারেন৷

লক্ষ্য করুন, এখানে আমরা "মুছুন" বোতাম ব্যবহার করে তালিকা থেকে তিনটি এন্ট্রি সরিয়েছি।