Op 12-11-13 15:44, JL schreef:
> I am actually running python on raspberry pi. The trigger event is a 
> button-press.

That doesn't help. What does that button-press cause in terms of the OS. Does
it cause a signal? Does it produce a number of bytes that can be read from
some file like object? Something else?

This is not python specific, the answer to those questions is needed no matter
what language you use to implement your function.

-- 
Antoon Pardon



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

Reply via email to