PYTHON (tkinter) Creating an incremental value in an entry PYTHON (tkinter) Creating an incremental value in an entry tkinter tkinter

PYTHON (tkinter) Creating an incremental value in an entry


The problem is you dont use lambda on this line

 Button(ACGui, text="Submit", command=self.delay.set(self.new_delay)).grid(row=2, column=5)

It automaticly execute self.delay.set when u run your program.Try

 Button(ACGui, text="Submit", command=lambda:self.delay.set(self.new_delay)).grid(row=2, column=5)


Okay I dont know what happened but I removed the submit button on the line below the entry and now it works.