Cristina Cochior
6 years ago
1 changed files with 8 additions and 5 deletions
@ -1,8 +1,11 @@ |
|||
import time |
|||
import random |
|||
import os |
|||
|
|||
s = Sound() |
|||
s.read('') |
|||
nextturn=['who is next','next','well done','keep going','almost there', 'bonus! bonus! you have another minute', 'what a great edit', "it's like i'm reading The New York Times", 'nice phrasing. next'] |
|||
|
|||
while True: |
|||
choice=random.choice(nextturn) |
|||
cmd="espeak '{}'".format(choice) |
|||
os.system(cmd) |
|||
time.sleep(60) |
|||
s.play() |
Loading…
Reference in new issue