Wednesday, 10 September, 2025г.
russian english deutsch french spanish portuguese czech greek georgian chinese japanese korean indonesian turkish thai uzbek

пример: покупка автомобиля в Запорожье

 

Python GUI Tutorial - 29 - Combobox - part 2

Python GUI Tutorial - 29 - Combobox - part 2У вашего броузера проблема в совместимости с 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
Мой аккаунт