python 语音输入

 

    # 系统客户端包
import win32com.client
speaker = win32com.client.Dispatch("SAPI.SPVOICE") # 系统接口
while True:
    speaker.Speak("你要说的话")

 

posted @ 2019-05-03 12:27  anobscureretreat  阅读(789)  评论(0)    收藏  举报