Skip to content

Instantly share code, notes, and snippets.

@markpasc
Forked from sekimura/gist:765587
Created January 5, 2011 00:02
Show Gist options
  • Save markpasc/765685 to your computer and use it in GitHub Desktop.
Save markpasc/765685 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
from subprocess import call
import time
ho = 'h'
def ooer():
while True:
for i in range(6):
yield 'o'
yield '-o'
oo = ooer()
while True:
ho += oo.next()
print ho
call(['say', ho])
time.sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment