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