Skip to content

Instantly share code, notes, and snippets.

@KitWallace
Created August 19, 2012 10:22
Show Gist options
  • Save KitWallace/3394151 to your computer and use it in GitHub Desktop.
Save KitWallace/3394151 to your computer and use it in GitHub Desktop.
A simple talking clock
#!/usr/bin/python
import time
import speak
while True :
message = "The Raspberry Pi time is " + speak.escape_XML(speak.ssml_break(500)) + time.strftime('%I %M %p')
speak.say(message)
time.sleep(60)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment