pip install gTTS
This code is work on every platform.
Here I’m giving you the code with convert the Text into Speech.
from gtts import gTTS
myText = “Welcome to the Helping Information”
language = ‘en’
myObj = gTTS(text = myText, lang =language, slow = False)
The output of the above code should be the voice saying “Welcome to the Helping Information”
For the practical purpose, you should watch the following video.