Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make python speak

#pip install pyttsx3
import pyttsx3
# simple code... you need to create the engine once but you need to add
#runAndWait everytime you use the engine
engine = pyttsx3.init()
engine.say('HELLO THERE')
engine.runAndWait()
 
PREVIOUS NEXT
Tagged: #python #speak
ADD COMMENT
Topic
Name
2+7 =