Speaking Text

David C. Ullrich dullrich at sprynet.com
Wed Mar 19 13:41:29 CET 2008


Mac OS X has text-to-speech built into the interface.
So there must be a way to access that from the command
line as well - in fact the first thing I tried worked:

os.system('say hello')

says 'hello'.

Is there something similar in Windows and/or Linux?
(If it's there in Linux presumably it only works if there
happens to be a speech engine available...)


David C. Ullrich



More information about the Python-list mailing list