Sorry, I can't get in. Can you please show me, how to use your approach on the simple push/push ON/OFF button for example please?
PS: seriously it is not a homework :) and I feel it like a shame I am asking such a simple questions :( States: ON, OFF Transition event: "push", "lift" transition diagram: ========================= ___ lift | | _V___|__ ,->| ON |__ | |________| | lift | | push | ________ | '--| OFF |<-' |________| ^ | |___|push -- http://mail.python.org/mailman/listinfo/python-list