Example:
******Your code Below *****
from tkinter import *
root = Tk()
root.title("ListBox Example")
root.geometry("900x500+350+86")
root.config(background="#ADFF2F")
my_label= Label(root, text="Your Listbox Here",
font=("Times", 30, "bold"),bg="#EE7942",relief=SUNKEN)
my_label.pack(pady=15)
my_listbox= Listbox(root)
my_listbox.pack(pady=40)
root.mainloop()
********End Code**********
Write Down Code Your Code Editor. To show Your Output. If Use Pycharm Press Shift+F10 and Show Your Output.
Enjoy........
Post a Comment