Jan-15-2020, 05:17 AM
Quote:RC_button=tk.Button(window, text='OK',width=15,height=2,command=RC_button)this statement calls itself when button pressed.
you need to do some renaming.
calling the function which is named same as button is bad coding, it will recreate widgets each time
and weird things will start at some point.
I strongly suggest taking a good tutorial (at least the parts about buttons)
I'd suggest: https://www.python-course.eu/python_tkinter.php