Mar-12-2022, 11:48 PM
I have a list of words that I want Python to turn into speech:
import pyttsx3 import time words = ['this','is','my','list'] engine = pyttsx3.init() for i in words: engine.say(i) engine.runAndWait() time.sleep(0)Currently, the time between each word is too long (over a second), even with time.sleep set to 0. Why does the .runAndWait() method even have a built-in wait time and how can this delay be decreased?