Recently, I came across this awesome python awesome library known as gTTS(Google text-to-speech). The purpose of this library is to convert written text to audio in mp3 format. The usage is also very easy just install the library from Then import the class from the package, create an object using constructor and save it as a mp3 file.

Installing gTTS.

If I assume those who are reading this post have some experience in programming in javascript either in client or server side. Then I can safely say that there are times when you have situation when you have to made a lot of repetitive promise calls. Now you will say

What’s your problem

To which my reply is

Anwesh Mishra

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store