is anyone using text to speech to read python documentation

Stef Mientki stef.mientki at gmail.com
Wed Jun 3 14:28:40 EDT 2009


Eric_Dexter at msn.com wrote:
>      I wrote a small pre-processor for python documentation and I am
> looking for advice on how to get the most natural sounding reading.  I
> uploaded an example of a reading of lxml documentation as a podcast1
>
> http://dexrow.blogspot.com/2009/06/python-voice-preprocessor.html.
>
>   
Depends what OS you want to use, on Windows it's very easy:

import win32com.client                           
s = win32com.client.Dispatch("SAPI.SpVoice")     
s.Speak('Is this punthoofd ')                    


cheers,
Stef



More information about the Python-list mailing list