Monday, July 8, 2019

gtts example using python

from gtts import gTTS
import os
tts = gTTS('hello world')
tts.save('hello.mp3')
os.system("hello.mp3")

No comments:

Post a Comment

python class topic video