click a button and a number pops up in an entry screen - Python
2010-03-11
Button(root, text=label, width=5, command=cmd) # position the button btn[n].grid(row=r, column=c) # increment button index n += 1 # update row/column position c += 1 if c > 4: c = 0 r += 1 entry = tk.Entry(root, width=33) ...