import win32com.client
import time
dehua = win32com.client.Dispatch("SAPI.SPVOICE")
dehua.Speak("Hello")
while 1:
dehua.Speak("Hi")
time.sleep(5)
还有语音模块,后面慢慢补import win32com.client
import time
dehua = win32com.client.Dispatch("SAPI.SPVOICE")
dehua.Speak("Hello")
while 1:
dehua.Speak("Hi")
time.sleep(5)
还有语音模块,后面慢慢补