from gtts import gTTs python code example Example: gtts >>> from gtts import gTTS >>> tts = gTTS('hello') >>> tts.save('hello.mp3')