Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/a/d/advene-HEAD/lib/advene/plugins/tts.py   advene(Download)
    def pronounce (self, sentence):
        if self.sapi is None:
            import win32com.client
            self.sapi=win32com.client.Dispatch("sapi.SPVoice")
        self.sapi.Speak( sentence.encode(config.data.preferences['tts-encoding'], 'ignore'), self.SPF_ASYNC | self.SPF_PURGEBEFORESPEAK )

src/s/p/speech-0.5.2/speech.py   speech(Download)
def say(phrase):
    """Say the given phrase out loud."""
    _voice.Speak(phrase)
 
 

src/j/a/Jarvis-HEAD/jarvis.py   Jarvis(Download)
        get_name(config_title, config_first_name, config_last_name, config_formal_address) + '.' 
    print speech
    voice.Speak(speech)
 
if __name__ == '__main__':