DEV Community

akshay
akshay

Posted on

Text To Speech in Python

First install pyttsx3 from your terminal or cmd
By running this commond - pip install pyttsx3


 import pyttsx3
 engine = pyttsx3.init()
 engine.say("Hello World")
 engine.runAndWait()

Enter fullscreen mode Exit fullscreen mode

Top comments (0)