Answers for "python say command"

1

say command python

#pip install say

from say import *

x, nums, name = 12, list(range(4)), 'Fred'

say("There are {x} things.")
say("Nums has {len(nums)} items: {nums}")
say("Name: {name!r}")
Posted by: Guest on July-27-2020
0

how to make python speak

from win32com.client import Dispatch

speak = Dispatch("SAPI.SpVoice")

speak.Speak("Ciao")
Posted by: Guest on March-26-2020
1

how to say something python

###Say Hello World!!!
print("Hello World!!!")
Posted by: Guest on April-22-2020

Python Answers by Framework

Browse Popular Code Answers by Language