Apr-26-2020, 04:31 PM
chosen = box.get() if chosen is "small"(): b = 2 if chosen is "big"(): b = 3
small
and big
should not have ()
after them, this is trying to call the string.check for equality using
==
not is
combobox
|
|
Messages In This Thread |
RE: combobox - by Yoriz - Apr-26-2020, 04:31 PM
RE: combobox - by Agusben - Apr-27-2020, 04:07 AM
RE: combobox - by deanhystad - Apr-27-2020, 05:43 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[PyQt] How can I sync Combobox index to other combobox index? | nickzsche | 2 | 2,335 |
Jan-03-2022, 12:29 PM Last Post: Axel_Erfurt |