Wednesday, May 22, 2019

Catalin George Festila: Python 3.7.3 : Using the win32com - part 001.

The tutorial is about win32com python module using the python 3.7.3. First exameple is simple: import sys import win32com.client from win32com.client import constants speaker = win32com.client.Dispatch("SAPI.SpVoice") print ("Type word or phrase, then enter.") while 1: text_to_say = input("> ") speaker.Speak(text_to_say)Let's run it. The Microsoft Speech SDK to speak what you type in

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...