how to play sound directly with pytts code example
Example: play sound directly with pytts
import pyttsx
engine = pyttsx.init()
engine.say('Good morning.')
engine.runAndWait()
import pyttsx
engine = pyttsx.init()
engine.say('Good morning.')
engine.runAndWait()