Text to Speech

From command prompt enter the following code


pip install pyttsx3

In Python


import pyttsx3

engine = pyttsx3.init()

engine.say('Type speech here')
engine.runAndWait()