May-10-2019, 09:36 PM
To add arguments to a function called as a command you can use partial from functools
from functools import partial self.button5 = Button(middleframe6, text="Configure RVM", command=partial(self.ReceiptFormat, "text"), relief=RAISED