У вашего броузера проблема в совместимости с HTML5
in This video, you'll learn how we can create combobox in Python Tkinter.
To create a combobox in tkinter we have to import ttk.
example -
from tkinter import *
from tkinter.ttk import Combobox
def print_me():
value = combo.get()
print(value)
root = Tk()
v = ["hello","hi"]
combo = Combobox(root, values=v, width=15)
combo.set("select")
combo.pack()
button = Button(root, text="print", command=print_me).pack()
root.geometry("300x300+120+120")
root.mainloop()
------------------------------------------------------------------
I'm sure your queries like -
- How to get value from tkinter combobox?
- How to fetch value from tkinter combobox?
have been solved.
If you have any problem related to this video then please comment below. Thanks