Can someone tell me how to use Google Text to speech API in Python IDLE? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someone tell me how to use Google Text to speech API in Python IDLE?

I want to use Google Online Text to Speech API in my Python IDLE.Any clue what module to import or how to create my own module for that.If not does Python has any inbuilt module in it to convert text to speech?

10th May 2017, 3:21 PM
Goutam Bose
Goutam Bose - avatar
2 Answers
+ 4
You'll have to import gTTS module. Check it out, it's pretty easy and has a vast handful of supported languages: https://pypi.python.org/pypi/gTTS
10th May 2017, 5:06 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
hey thanks a lot...that was really helpful
10th May 2017, 9:49 PM
Goutam Bose
Goutam Bose - avatar