So I'm working on, AGAIN the code in This Question...
so im wondering how to go about doing this:
from tkinter import *
from tkinter import messagebox as mb
# ...
def info(text):
mb.showinfo(text)
# ...
helpmenu.add_command(label="Version", command=info("Not yet realesed"))
# ...
what it does is automaticly executes info()
.
how can I prevent this?