def share(self): self.picture.capture() picturepath = self.picture.path() twythonTimelineSet("#NuupXe IoTPy Selfie Project!", picturepath)
def share(self): self.picture.capture() picturepath = self.picture.path() id = str(randint(0,99)) twythonTimelineSet("0x" + id + " #IoT #IoTLearningInit #IoTLearningInitiative IoTPy Selfie Project!", picturepath)
def report(self): message = 'Hello Internet of Things Python Learners, Now another test!' print message twythonTimelineSet(message, None) command = ['libraries/voicerss.sh', 'en-us', message] proc = subprocess.call(command)