1# One way is to use lambda
2button = tk.Button(root, text="Button", command=lambda: func(args))
1from functools import partial
2#
3#
4def function_name(arg1):
5 print(arg1)
6#
7#tkinter codes for GUI
8#
9buttonExample = tk.Button(main, text="Button", command=partial(function_name, argument1))