os.speak python code example
Example 1: how to make python speak
from win32com.client import Dispatch
speak = Dispatch("SAPI.SpVoice")
speak.Speak("Ciao")
Example 2: how to say something python
###Say Hello World!!!
print("Hello World!!!")
from win32com.client import Dispatch
speak = Dispatch("SAPI.SpVoice")
speak.Speak("Ciao")
###Say Hello World!!!
print("Hello World!!!")