The issue i am having using this text to speech is that it start play before a panel is open , how do i get it to play after a panel in wxpython is open
import pyttsx3
initialisation
engine = pyttsx3.init()
testing
engine.say("Welcome to 24-hour ATM service")
engine.say("Thank you")
engine.runAndWait()