Hey, I was attempting to make a password protection system in windows API where someone can type the password in an editbox and if it is the right password, then continue the program else display an error message box. I've tried a bunch of different things but can't get one that works. Could anybody show me how to do this?
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: