how to click on button from the script in tkinter code example
Example: when button is clicked tkinter python
def someFunction:
function body
tkWindow = Tk()
button = Button(tkWindow, command=someFunction)
def someFunction:
function body
tkWindow = Tk()
button = Button(tkWindow, command=someFunction)