import pyttsx3 engine = pyttsx3.init() engine.say("Good") engine.runAndWait() import win32com.client as win speak = win.Dispatch("SAPI.SpVoice") speak.Speak("come on") speak.Speak("你好")
import pyttsx3 engine = pyttsx3.init() engine.say("Good") engine.runAndWait() import win32com.client as win speak = win.Dispatch("SAPI.SpVoice") speak.Speak("come on") speak.Speak("你好")