Python Forum
[Tkinter] Noob question:Using pyttsx3 with tkinter causes program to stop and close, any ideas?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Noob question:Using pyttsx3 with tkinter causes program to stop and close, any ideas?
#3
Looks like this part in your code is blocking the mainloop in tkinter
Quote:engine.runAndWait()
you may need to use threading -> thread -> start, to separate the voice to text.
I would create a function which starts the voice to text. threading module
Reply


Messages In This Thread
RE: Noob question:Using pyttsx3 with tkinter causes program to stop and close, any ideas? - by joe_momma - Nov-14-2020, 01:56 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Beginner question re: Tkinter geometry return2sender 3 964 Jun-19-2023, 06:19 PM
Last Post: deanhystad
  Tkinter GUI question texan1836 3 1,930 Apr-13-2023, 03:12 AM
Last Post: deanhystad
  simple tkinter question function call not opening image gr3yali3n 5 3,464 Aug-02-2022, 09:13 PM
Last Post: woooee
  'Your first program' type question, be kind davediamond 0 1,084 Apr-11-2022, 08:12 PM
Last Post: davediamond
  [Tkinter] question for a tkinter dialog box RobertAlvarez424 2 2,269 Aug-25-2021, 03:08 PM
Last Post: RobertAlvarez424
  Python tkinter question tablet Nick_tkinter 8 5,080 Mar-04-2021, 10:44 PM
Last Post: Larz60+
  tkinter slider question Nick_tkinter 1 2,529 Feb-22-2021, 01:31 PM
Last Post: deanhystad
  How to stop time counter in Tkinter LoneStar 1 4,407 Sep-11-2020, 08:56 PM
Last Post: Yoriz
  question on tkinter canvas PhotoImage gr3yali3n 1 2,148 Sep-05-2020, 12:18 PM
Last Post: Larz60+
  [Tkinter] How to close all windows when exit program scratchmyhead 3 6,448 May-17-2020, 08:19 AM
Last Post: menator01

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020