Trying to do a very simple add to basket esque thing in a python/ tkinter food menu.
the idea:
-
have 3 buttons that are labeled a specific piece of food (and each with a specific number assigned to it
-
use .config on a tkinter label to show the added results
-
everytime the buttons are pressed it adds the value assigned to it to the label
-
add a clear button to clear the list
I am very Python dumb and would really appreciate any help at all. Thanks!
submitted by /u/Broad_Touch3753
[link] [comments]
r/learnpython Trying to do a very simple add to basket esque thing in a python/ tkinter food menu. the idea: have 3 buttons that are labeled a specific piece of food (and each with a specific number assigned to it use .config on a tkinter label to show the added results everytime the buttons are pressed it adds the value assigned to it to the label add a clear button to clear the list I am very Python dumb and would really appreciate any help at all. Thanks! submitted by /u/Broad_Touch3753 [link] [comments]
Trying to do a very simple add to basket esque thing in a python/ tkinter food menu.
the idea:
-
have 3 buttons that are labeled a specific piece of food (and each with a specific number assigned to it
-
use .config on a tkinter label to show the added results
-
everytime the buttons are pressed it adds the value assigned to it to the label
-
add a clear button to clear the list
I am very Python dumb and would really appreciate any help at all. Thanks!
submitted by /u/Broad_Touch3753
[link] [comments]