----- Original Message -----
From: "Bill Janssen" <jans...@parc.com>
To: "Mike" <smartmi...@gmail.com>
Cc: <pythonmac-sig@python.org>; <jans...@parc.com>
Sent: Tuesday, May 18, 2010 2:22 AM
Subject: Re: [Pythonmac-SIG] Still Unable to get my Python program working
on the mac
An easy way to speak stuff on the Mac from Python is
import os
os.system("/usr/bin/say 'hello hello hello'")
Bill
Thanks, but that won't work for the amount of stuff we have to output, since
there's a lag. Also it doesn't allow for interrupt, that is, for it to stop
saying whatever it's currently saying and start speaking a new string if
that option is passed to it.
The only way I can see this working is getting pyttsx working with
ctypes...or if anyone knows of another similar package that doesn't use
PyObjC...
Mike
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG