Wednesday, January 23, 2019

python text to speech and this is awesome

pip install pyttsx3
pip install pypiwin32

the code:

import pyttsx3;
engine = pyttsx3.init();
engine.say("My wife is Sheryl and my two son's are Kiefer and Jairus");
engine.runAndWait() ;

that's it, eureka!

No comments:

Post a Comment

free online comma separating tool

https://delim.co/#