0
我在使用.after命令時遇到了問題。它不等待5秒鐘,而是立即進入下一個功能。我如何讓它等待5秒鐘?Python。after command not working
def passwordmaking():
passmakingtext = ment1.get()
if passmakingtext == passmaking:
print ("pass")
sys.exit()
else :
label.configure(text = "Password isn't right, Bye")
label.after(5000, bye())
def bye():
sys.exit()
感謝您的幫助