python朗读播放中文和英文
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
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("你好")
-----------------------------------------------------------------------------------------------------------------------------------------