文字转语音

 


import pyttsx3
import pyttsx3.drivers.sapi5
import pyttsx3.drivers
import pythoncom

pythoncom.CoInitialize() engine
= pyttsx3.init() engine.say(strInfo) engine.runAndWait()

 

posted @ 2021-02-19 23:29  countryboy666  阅读(51)  评论(0编辑  收藏  举报