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()

I see no code there to open a panel. That's probably why. Or you decided to not show your complete minimal viable example.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.