Re: log file.

2016-06-15 Thread Paul Owen
Thank you Steven.
that is just what I need.

regards Paul.
-- 
https://mail.python.org/mailman/listinfo/python-list


RE: log file.

2016-06-14 Thread Paul Owen

Gmail

Google+

Calendar

Web

more

Inbox

pump programme

Paul Owen

to me
1 hour ago

Details

from gpiozero import LED,Button

from signal import pause

print ("Pump Programme Running")

led = LED(17)

low = Button (2)

high = Button (3)

high.when_pressed = led.on 

low.when_released = led.off

#as you can see I need a simple way to log when led(pump) runs

hope seeing this helps.

regards Paul.
-- 
https://mail.python.org/mailman/listinfo/python-list


RE: log file.

2016-06-14 Thread Paul Owen
thanks I will look at them.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: log file.

2016-06-14 Thread Paul Owen
logging please.

my pump programme works but I want to log the time etc. when the pump runs and 
stops.

I am trying to improve the programme 

I am a novice!
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: log file.

2016-06-14 Thread Paul Owen
I am very inexperienced at programming.!

is there a lot of code needed to use those modules.

regards paul.
-- 
https://mail.python.org/mailman/listinfo/python-list