Feb-15-2020, 02:28 PM
I am trying to code without using globals. I am using the tkinter.button (see below) to enter some numbers into a variable. Ideally I want the tkinter.button call to return the number entered so that I don't have to make use of the global.
Anyone any ideas ?
Anyone any ideas ?
window_button = tkinter.Button(universe_window,text="0",font=(font,font_size_small),command=partial(Get_Number, "Display_Commands","0")) window_button.place(x=654,y=310)