python 语音输入

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

猜你喜欢

转载自www.cnblogs.com/sea-stream/p/10804803.html