gTTS
gTTS copied to clipboard
Add support asyncio
Since this is network dependent library it should support async / await for non-blocking access and Hence for better concurrency. Thanks
Indeed! Part of ripping out Python 2 support too..
I needed to use gtts in an async type of way so I set up a queue and a separate python script that only reads text messages from the queue and then calls gtts. That's all it does. Just loops until a message is received and then calls/plays.
I agree with this, plus it makes work better with discord bots.
+1 would be super useful in todays async/await world