interactive programme & pyTTS
carmel stanley
cm012b5105 at blueyonder.co.uk
Tue Jun 13 15:56:31 EDT 2006
Hi i have been making an interactive programme,i have recently tried using "pyTTS" with it.
This is a small ammount of it.
import pyTTS
tts = pyTTS.Create()
tts.Rate = -3
tts.Speak('hi molly how old are you?.')
s = raw_input ("how old are you?")
if s=='3':
print "thats great"
else: print "tuttut"
tts.speak('tututut')
What i dont get is if i type in "4" it prints "tuttut" but it does not say it,am i overlooking something here.
Thanks nige
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060613/d21be587/attachment.html>
More information about the Python-list
mailing list