A quick guide to the gTTS Library.
Ok, have you ever wanted a voice in your repl?
I'm here to help. This is..
gTTS stands for Google Text-to-Speech. It's that voice you hear in Google Translate and other Google apps and products use it as well.
Ok! I know you guys just want to see the code, so let's get on with it!
from gtts import gTTS
from gtts import gTTS tts = gTTS('Hello gTTS')
from gtts import gTTS tts = gTTS('Hello gTTS') tts.save('hello.mp3')
Run the program. In your "files" sidebar, you should see something like: hello.mp3.