Answers for "gtts library in python"

5

gtts

>>> from gtts import gTTS
>>> tts = gTTS('hello')
>>> tts.save('hello.mp3')
Posted by: Guest on September-03-2020
0

text to sound python

#pip3 install pyttsx3
#apt-get install alsa-utils
import pyttsx3, time 
engine = pyttsx3.init() 
engine.say("Hi, I am text to speach") 
engine.runAndWait()
Posted by: Guest on July-06-2020

Python Answers by Framework

Browse Popular Code Answers by Language