Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This script can help you ( Text to Speech )
import win32com.client
speaker = win32com.client.Dispatch("SAPI.SpVoice")
while 1:
print('Enter the Word')
#可用中文、英文
s = input( )
speaker.Speak(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment