Text zu Sprache
# Import the required module for text
# to speech conversion
from gtts import gTTS
# This module is imported so that we can
# play the converted audio
mytext = input("Enter the text to be converted: ")
language = 'en'
myobj = gTTS(text=mytext, lang=language, slow=False)
E = input("Enter the name of the file: ")
myobj.save(E + ".mp3")
#you can change mp3 to wav
cool dude