Text to Speech conversion in Python

    

   from win32com.client import Dispatch
speak_it = Dispatch("SAPI.SpVoice")
string = input("Enter the text and we will speak it:  ")
speak_it.Speak(string)

    

Comments

Popular posts from this blog

Quotation marks to wrap an element in HTML

The "content" property in CSS

Guess The Number Game - You vs. Your Friend