Python Forum

Full Version: Help me,send message via tkinter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello boys,
i have a one question,
is it possible tkinter to send email after click 10 times on button, i want when button is push 10 times, at 10th press to send mesage "" water is low "". water is over and I need to go to charge water.This is a button for water dispenser.the button is swich with relay.
Thank you very much for your answers.
Create a variable that keeps a count of button clicks, when the count reaches 10 send the message.
(May-15-2019, 08:14 AM)Yoriz Wrote: [ -> ]Create a variable that keeps a count of button clicks, when the count reaches 10 send the message.
Thank for your help but i can't make this,i am a beginner unfortunately ,i don't now what code write on button.
Thank you very much for your answer.