Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Monthly report for pushed buttons
Post: RE: Monthly report for pushed buttons
this is a code.
import tkinter as tk
from tkinter import *
import smtplib
from tkinter import Tk, Toplevel, Button
import RPi.GPIO as GPIO
import time
import tkinter.ttk as ttk
from tkinter.ttk import... |
|
chano |
Homework |
2 |
2,131 |
Oct-09-2019, 01:40 PM |
|
|
Thread: Monthly report for pushed buttons
Post: Monthly report for pushed buttons
hello,
monthly report how much i push 3 buttons,it shoud send to email.i dont know how to do it.
the buttons are on water mashine,i want to know how much are pushed this buttons.the code is python and... |
|
chano |
Homework |
2 |
2,131 |
Oct-09-2019, 06:57 AM |
|
|
Thread: Send email with different buttons how
Post: Send email with different buttons how
This is my email, i have two buttons, one for cool water and one for hot water, i want like push cool water 10 times it send email, like push hot water 5 times to send email.Email working but like p... |
|
chano |
Homework |
1 |
2,773 |
Aug-20-2019, 11:46 AM |
|
|
Thread: How many times it was pressed the button
Post: RE: How many times it was pressed the button
(Aug-13-2019, 02:54 PM)jefsummers Wrote: Yes, it is possible. The flow and techniques involved will depend on what GUI you are using, but in general something like: 1. On program start, read the fil... |
|
chano |
Homework |
4 |
3,146 |
Aug-20-2019, 07:06 AM |
|
|
Thread: How many times it was pressed the button
Post: RE: How many times it was pressed the button
Hello,
This is a sample button,i am a beginner in python and tkinter,can you help me with this code,if is possible i want like push button 10 times it write in file and send to my email,every day,this... |
|
chano |
Homework |
4 |
3,146 |
Aug-15-2019, 07:42 AM |
|
|
Thread: How many times it was pressed the button
Post: How many times it was pressed the button
Hello,
I have a few buttons and I want to understand how many times they push these buttons, can it write in a file and it send via email this file every day.Is it possible?
Thank you |
|
chano |
Homework |
4 |
3,146 |
Aug-13-2019, 11:41 AM |
|
|
Thread: Text after push button
Post: RE: Text after push button
(Jul-05-2019, 02:44 PM)Yoriz Wrote: The only button in the code shown is
b = button = tk.Button(master1,image=image2, height=80, width=160,background="red",font="0",bd=10,fg="black",command= text_1_... |
|
chano |
GUI |
13 |
5,420 |
Jul-05-2019, 02:58 PM |
|
|
Thread: Text after push button
Post: RE: Text after push button
(Jul-05-2019, 02:11 PM)Yoriz Wrote: delayed_textok is a function not a method of master3
change
master3.after(1000,master3.delayed_textok)to
master3.after(1000,delayed_textok)new wrong:
master3.butt... |
|
chano |
GUI |
13 |
5,420 |
Jul-05-2019, 02:37 PM |
|
|
Thread: Text after push button
Post: RE: Text after push button
the wrong:
Error:master3.after(1000,master3.delayed_textok) AttributeError: 'Toplevel' object has no attribute 'delayed_textok' |
|
chano |
GUI |
13 |
5,420 |
Jul-05-2019, 02:02 PM |
|
|
Thread: Text after push button
Post: RE: Text after push button
Hello,
this is the code,normal is "this is ok"(on red bottom bar), i push button it start text "please wait"" but it dont want to return text "this is ok" where is wrong.
Thank you
import tkinter as t... |
|
chano |
GUI |
13 |
5,420 |
Jul-05-2019, 09:30 AM |
|
|
Thread: Text after push button
Post: RE: Text after push button
(Jul-02-2019, 05:50 PM)Yoriz Wrote: Use the same methods as one of your previous questions.
https://python-forum.io/Thread-Tkinter-R...g-a-buttonHello ,but this is for progress bar,i want text botto... |
|
chano |
GUI |
13 |
5,420 |
Jul-04-2019, 06:43 AM |
|
|
Thread: Text after push button
Post: RE: Text after push button
(Jul-02-2019, 03:30 PM)Denni Wrote: okay to help those who know tkinter what version of python are you using -- sometimes a big deal and sometimes not but specificity always helpsHello,python 3 is i... |
|
chano |
GUI |
13 |
5,420 |
Jul-03-2019, 10:09 AM |
|
|
Thread: Text after push button
Post: RE: Text after push button
with python and tkinter is it can? |
|
chano |
GUI |
13 |
5,420 |
Jul-02-2019, 03:01 PM |
|
|
Thread: Text after push button
Post: Text after push button
Hello All,
can after push button to see text on display- ,(bоttom) "please wait",for 30 secоnds,is it possible?
Thank you |
|
chano |
GUI |
13 |
5,420 |
Jul-02-2019, 09:09 AM |
|
|
Thread: send email after restart raspberry pi
Post: RE: send email after restart raspberry pi
Hello,thank you all is ok.you are very good men. |
|
chano |
News and Discussions |
6 |
4,489 |
Jun-12-2019, 08:08 AM |
|
|
Thread: send email after restart raspberry pi
Post: RE: send email after restart raspberry pi
(Jun-06-2019, 01:12 PM)DeaD_EyE Wrote: I prefer the emails package. To use it, you have to install it on your Raspberry Pi.
Also you have to check the settings. Some providers do have different port... |
|
chano |
News and Discussions |
6 |
4,489 |
Jun-06-2019, 02:04 PM |
|
|
Thread: send email after restart raspberry pi
Post: RE: send email after restart raspberry pi
(Jun-05-2019, 10:15 AM)DeaD_EyE Wrote: Of course it is.
https://realpython.com/python-send-email/
You can use the email and smtplib. A better API is provided by emails.
To start your script after b... |
|
chano |
News and Discussions |
6 |
4,489 |
Jun-06-2019, 11:02 AM |
|
|
Thread: send email after restart raspberry pi
Post: send email after restart raspberry pi
How raspberry send email when it restarting, I want receive email when raspberry is restarting, for example, when electricity drops.
Is it a possible? |
|
chano |
News and Discussions |
6 |
4,489 |
Jun-05-2019, 09:48 AM |
|
|
Thread: sensor code that starts heater
Post: RE: sensor code that starts heater
(Jun-04-2019, 02:36 PM)michalmonday Wrote: Hi, check this out:
https://github.com/szazo/DHT11_Python
As you can see in the example code, the "signal" pin is connected to pin 14 of raspberry pi.
The ... |
|
chano |
General Coding Help |
3 |
3,145 |
Jun-05-2019, 09:45 AM |
|
|
Thread: sensor code that starts heater
Post: sensor code that starts heater
Hello,
i want to start the heater with the sensor, when the temperature is 0 dеgrees the heater start when the temperature becomes +3 degree heater stop.is it possible?
Can you tell me whats the senso... |
|
chano |
General Coding Help |
3 |
3,145 |
Jun-04-2019, 01:57 PM |