Code: Select all
def handle_command_intent(self, message):
if message.data["command"].upper() == "BLINK":
self.speak_dialog("ledblink")
how does python found what data is? how about the other?
another problem that i have is in the code below:
Code: Select all
class iterable(object):
def __init__(self, values):
self.values = values
self.location = 0Code: Select all
def __init__(self, values, location):Code: Select all
def __iter__(self):
return self